/jsonlib-benchmark

CPP JSON Library benchmark

Primary LanguageC++MIT LicenseMIT

CPP JSON Library benchmark

JSON data

data/sample.json from json-test-suite

others from nativejson-benchmark

Libraries

Library Version Notes
json 3.9.1
rapidjson 1.1.0

How to benchmark

Install python3 and bazel

Generate file

python3 ./init.py

Test And Benchmark

bazel test -c opt //...

check benchmark data at bazel-testlogs/src/*/benchmark/test.log

cat bazel-testlogs/src/*/benchmark/test.log