Closed itamarst closed 10 months ago
So far orjson seems a little fast, but not as much as expected. Should also try rapidjson.
Another alternative might be a different storage format, e.g. http://zderadicka.eu/comparison-of-json-like-serializations-json-vs-ubjson-vs-messagepack-vs-cbor/ suggests CBOR is rather faster.
More thorough benchmarking suggested orjson is definitely faster: https://pythonspeed.com/articles/faster-json-library/
https://github.com/ijl/orjson seems nice and fast. Otherwise, rapidjson is next on the list.