r/cpp_questions • • 3d ago

OPEN Benchmark Methodology Feedback?

Alright, so given that we recently moved this repo over from our personal account to our organization account, we thought it might be helpful to get some constructive feedback on the methodology. Thanks in advance!
Here is the repo:
https://github.com/nihilai-collective/json-performance
The libraries being benchmarked are:
Jsonifier (Our own library - which btw simdjson has been using as a performance reference point in their own commits recently)
simdjson
Glaze

3 Upvotes

1 comment sorted by

1

u/Discordbothost 1d ago

Add a third key order between the document-order and reverse cases, ideally the order a real caller reads the fields. Use the same sparse fields and payload for all three. That would show whether the reverse-order slowdown matters in practice or mostly shows up at the worst-case extreme.