Skip to content

Commit

Permalink
Updated benchmark readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jan 16, 2020
1 parent 6000b5f commit 074b9d6
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions benchmark/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ Encoding time in milliseconds per library. Lower is better.

.. code-block:: text
flatbuffers: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 2554
google : ▇▇▇▇▇▇▇▇▇▇▇▇▇ 2231
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 8480
pbtools : ▇▇▇▇▇▇ 1097
protobuf-c : ▇▇▇▇▇▇▇▇▇▇▇ 1892
flatbuffers: ▇▇▇▇▇▇▇▇▇▇▇▇▇ 2506
google : ▇▇▇▇▇▇▇▇▇▇▇ 2231
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 9580
pbtools : ▇▇▇▇▇▇▇ 1457
protobuf-c : ▇▇▇▇▇▇▇▇▇ 1892
Decoding time
-------------
Expand All @@ -56,11 +56,11 @@ Decoding time in milliseconds per library. Lower is better.

.. code-block:: text
flatbuffers: ▏ 103
google : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1997
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 6133
pbtools : ▇▇▇▇▇▇▇▇ 1002
protobuf-c : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 2508
flatbuffers: ▏ 100
google : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1997
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 6433
pbtools : ▇▇▇▇▇▇▇▇▇▇▇▇ 1594
protobuf-c : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 2508
NOTE: `flatbuffers` decodes fields when used by the application, while
other libraries decodes everything before any field can be used. The
Expand All @@ -74,13 +74,16 @@ Text segment size in bytes. Lower is better.

.. code-block:: text
flatbuffers: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 41042
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 26928
pbtools : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 32132
flatbuffers: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 40017
nanopb : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 21256
pbtools : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 17484
See `Executable size` in the `Details` section below for information
about `google` and `protobuf-c`.

NOTE: The `pbtools` executabe size probably grows faster than others
as it generates functions instead of tables.

Details
=======

Expand Down

0 comments on commit 074b9d6

Please sign in to comment.