Run Python JSON benchmarks to find the fastest module that can be used as a drop-in replacement of the json
standard one.
Benchmarks are run from a GitHub workflow.
See the requirements.txt file for exact modules being tested, and which imports are being used in the benchmark script.
- 🐧 GNU/Linux (spoiler:
python-rapidjson
🎉) - 🍎 macOS (spoiler:
python-rapidjson
🎉) - 🪟 Windows (spoiler:
ujson
🎉)
cysimdjson
: not a drop-in replacementhyperjson
: no more maintained, and the author recommandsorjson
jsonlib2
: no more maintainedlibpy_simdjson
: no wheel providedmetamagic.json
: no more maintainedorjson
: not a drop-in replacementpython-cjson
: no more maintainedsimdjson
: not a drop-in replacementyajl
: no more maintained