I'm trying to find a well-regarded JSON library benchmark, preferably cross-platform, preferably language independent. I'm most concerned about C++ performance on Linux, but would like to make comparisons and find something that works well on macOS and Windows too. Also, I'd like to benchmark implementations in C/C++ as well as other languages.

I've found a few benchmarks that are interesting, but they all seem to be Java only and the results aren't that impressive.

Is there a benchmark that can be considered definitive for comparing solutions?

BTW, this is not a duplicate. I'm looking for a CSV benchmark too...figured I should ask the question separately.

  • What do you mean by a “library benchmark”? Apr 4 '19 at 14:03
  • For parsing and for other common operations with a well-defined data set, I’d like to see #records per CPU clock cycle. For different data types and arrays, insertions, deletions. Apr 4 '19 at 16:25
  • Add that detail as an edit to your Question. Apr 4 '19 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.