Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
1bc8cbe1
Unverified
Commit
1bc8cbe1
authored
May 20, 2019
by
Yilun Chong
Committed by
GitHub
May 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6153 from TechProofreader/patch-1
Update performance.md
parents
b4f19378
5b628d55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
performance.md
docs/performance.md
+14
-14
No files found.
docs/performance.md
View file @
1bc8cbe1
# Protobuf Performance
Th
is benchmark result is tested on workstation with processor of Intel® Xeon® Processor E5-2630 and 32GB RAM
Th
e following benchmark test results were produced on a workstation utilizing an Intel® Xeon® Processor E5-2630 with 32GB of RAM.
This table contains
3 languages' result
s:
This table contains
the results of three separate language
s:
*
**C++**
- For C++
there're 3 kinds of parsing way
s:
*
**new**
- This is for using
new operator for creating
message instance.
*
**new arena**
- This is for using arena for creating new message instance.
*
**C++**
- For C++
, there are three parsing method
s:
*
**new**
- This is for using
a new operator for creating a
message instance.
*
**new arena**
- This is for using arena for creating
a
new message instance.
*
**reuse**
- This is for reusing the same message instance for parsing.
*
**Java**
- For Java
there're 3 kinds of parsing/Serialization way
s:
*
**Java**
- For Java
, there are three parsing/serialization method
s:
*
**byte[]**
- This is for parsing from a Byte Array.
*
**ByteString**
- This is for parsing from a
com.google.protobuf.ByteString.
*
**InputStream**
- This is for parsing from a
InputStream
*
**Python**
- For Python
there're 3 kinds of p
ython protobuf for testing:
*
**C++-genereated-code**
- This is for using
cpp
generated code of the
proto file as dynamic linked library.
*
**C++-reflection**
- This is for using
cpp reflection,
which there's no
generated code, but still using
cpp protobuf library as
dynamic linked
*
**InputStream**
- This is for parsing from a
n InputStream.
*
**Python**
- For Python
, there are three types of P
ython protobuf for testing:
*
**C++-genereated-code**
- This is for using
C++
generated code of the
proto file as
a
dynamic linked library.
*
**C++-reflection**
- This is for using
C++ reflection, for
which there's no
generated code, but still using
C++ protobuf library as a
dynamic linked
library.
*
**pure-Python**
- This is for
pure Python version, which don'
t link with
any
cpp
protobuf library.
*
**pure-Python**
- This is for
the pure version of Python, which does no
t link with
any
C++
protobuf library.
## Parsing performance
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment