-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated benchmark. Use -O2 instead of -O3 as it's probably a more com…
…mon use case.
- Loading branch information
Showing
5 changed files
with
46 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ CFLAGS = \ | |
-Wl,--gc-sections | ||
|
||
OPT_SIZE = -Os | ||
OPT_SPEED = -O3 | ||
OPT_SPEED = -O2 | ||
|
||
ITERATIONS = 2000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Decoding time -O3 [ms] | ||
# Decoding time -O2/-O3 [ms] | ||
|
||
pbtools 1002 | ||
pbtools 1594 | ||
google 1997 | ||
protobuf-c 2508 | ||
nanopb 6133 | ||
flatbuffers 103 | ||
nanopb 6433 | ||
flatbuffers 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Encoding time -O3 [ms] | ||
# Encoding time -O2/-O3 [ms] | ||
|
||
pbtools 1097 | ||
pbtools 1457 | ||
protobuf-c 1892 | ||
google 2231 | ||
nanopb 8480 | ||
flatbuffers 2554 | ||
nanopb 9580 | ||
flatbuffers 2506 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Text segment size -O3 [bytes] | ||
# Text segment size -O2/-O3 [bytes] | ||
|
||
pbtools 32132 | ||
nanopb 26928 | ||
flatbuffers 41042 | ||
pbtools 17484 | ||
nanopb 21256 | ||
flatbuffers 40017 |