Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
json
A C++11 library for parsing and serializing JSON to and from a DOM container in memory. (by boostorg)
Developed a new, open source JSON library, Glaze, that seems to be the fastest in the world for direct memory reading/writing. I will caveat that simdjson is probably faster in lazy contexts, but glaze should be faster when reading and writing directly from C++ structs.
A fellow Redditor made a Conan package yesterday: https://github.com/Ahajha/glaze-conan
We will add more benchmarks in the future, but for now you can see the comparison of daw_json_link with rapidjson. glaze is faster than daw_json_link, which is over twice as fast as rapidjson.
You starred my filesystem watcher (one of the first) so I know you know good code ;)
https://github.com/kostya/benchmarks is the current ratings. Should be an easy PR to them too.
Shouldn't your benchmark use a somewhat larger JSON? Something from https://github.com/boostorg/json/tree/develop/bench/data, for instance.