Unverified Commit 5b628d55 authored by TechProofreader's avatar TechProofreader Committed by GitHub

Update performance.md

I corrected a few grammatical mistakes and increased the document's readability by easing the language flow.
parent b4f19378
# Protobuf Performance # Protobuf Performance
This benchmark result is tested on workstation with processor of Intel® Xeon® Processor E5-2630 and 32GB RAM The 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' results: This table contains the results of three separate languages:
* **C++** - For C++ there're 3 kinds of parsing ways: * **C++** - For C++, there are three parsing methods:
* **new** - This is for using new operator for creating message instance. * **new** - This is for using a new operator for creating a message instance.
* **new arena** - This is for using arena for creating new 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. * **reuse** - This is for reusing the same message instance for parsing.
* **Java** - For Java there're 3 kinds of parsing/Serialization ways: * **Java** - For Java, there are three parsing/serialization methods:
* **byte[]** - This is for parsing from a Byte Array. * **byte[]** - This is for parsing from a Byte Array.
* **ByteString** - This is for parsing from a * **ByteString** - This is for parsing from a
com.google.protobuf.ByteString. com.google.protobuf.ByteString.
* **InputStream** - This is for parsing from a InputStream * **InputStream** - This is for parsing from an InputStream.
* **Python** - For Python there're 3 kinds of python protobuf for testing: * **Python** - For Python, there are three types of Python protobuf for testing:
* **C++-genereated-code** - This is for using cpp generated code of the * **C++-genereated-code** - This is for using C++ generated code of the
proto file as dynamic linked library. proto file as a dynamic linked library.
* **C++-reflection** - This is for using cpp reflection, which there's no * **C++-reflection** - This is for using C++ reflection, for which there's no
generated code, but still using cpp protobuf library as dynamic linked generated code, but still using C++ protobuf library as a dynamic linked
library. library.
* **pure-Python** - This is for pure Python version, which don't link with * **pure-Python** - This is for the pure version of Python, which does not link with
any cpp protobuf library. any C++ protobuf library.
## Parsing performance ## Parsing performance
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment