-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Benchmark CLI for format comparison and perf tracking (#329)
* Add version API and pull version w/ hash during build * Move gtest up, and update it; Add new dependencies for ion-bench tool * Update tests and build for updated gtest; Add option to not include tests in build * Add ion-bench tool for performing (de-)serialization benchmarks * Remove unneeded files * Update cmake to dial in c++ standard requirements, and update gha workflow to account for changes better * Fix job title for ubuntu/mac; add git config to fix dubious permissions issue * Update actions/checkout, see if fetch-tags works to fix git describe issue * Roll back to checkout@v3, v4 was too new for amazonlinux 1&2; Add fetch-depth * Update build for CodeQL * Remove --system, job is not containerized * Fix memleak of ION_INT digits when closing or resetting a reader * Initialize ion_decimal, fixes crash during ion_decimal_free when uninitialized data sets decimal to NUMBER type * Put verbose debug output behind a cmake flag * Address feedback; Fix typos and remove commented code
- Loading branch information
Showing
47 changed files
with
3,179 additions
and
107 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
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,21 @@ | ||
[submodule "ion-tests"] | ||
path = ion-tests | ||
url = https://github.com/amazon-ion/ion-tests.git | ||
[submodule "googletest"] | ||
path = test/googletest | ||
[submodule "tools/ion-bench/deps/libcbor"] | ||
path = tools/ion-bench/deps/libcbor | ||
url = https://github.com/PJK/libcbor.git | ||
[submodule "tools/ion-bench/deps/json-c"] | ||
path = tools/ion-bench/deps/json-c | ||
url = https://github.com/json-c/json-c.git | ||
[submodule "tools/ion-bench/deps/msgpack-c"] | ||
path = tools/ion-bench/deps/msgpack-c | ||
url = https://github.com/msgpack/msgpack-c.git | ||
[submodule "tools/ion-bench/deps/yyjson"] | ||
path = tools/ion-bench/deps/yyjson | ||
url = https://github.com/ibireme/yyjson.git | ||
[submodule "tools/ion-bench/deps/google-benchmark"] | ||
path = tools/ion-bench/deps/google-benchmark | ||
url = https://github.com/google/benchmark.git | ||
[submodule "deps/google-test"] | ||
path = deps/google-test | ||
url = https://github.com/google/googletest.git | ||
ignore = untracked |
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef IONC_VERSION_H__ | ||
#define IONC_VERSION_H__ | ||
#define IONC_BUILD_VERSION "@IONC_VERSION@ (rev: @IONC_VERSION_HASH@)" | ||
#define IONC_VERSION "@IONC_VERSION@" | ||
#define IONC_VERSION_MAJOR @IONC_VERSION_MAJOR@ | ||
#define IONC_VERSION_MINOR @IONC_VERSION_MINOR@ | ||
#define IONC_VERSION_PATCH @IONC_VERSION_PATCH@ | ||
#define IONC_VERSION_HASH "@IONC_VERSION_HASH@" | ||
#endif /* IONC_VERSION_H__ */ |
Oops, something went wrong.