Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 996 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 996 Bytes

Fatest JSON Python module

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.

Results

  • 🐧 GNU/Linux (spoiler: python-rapidjson 🎉)
  • 🍎 macOS (spoiler: python-rapidjson 🎉)
  • 🪟 Windows (spoiler: ujson 🎉)

Not An Option

  • cysimdjson: not a drop-in replacement
  • hyperjson: no more maintained, and the author recommands orjson
  • jsonlib2: no more maintained
  • libpy_simdjson: no wheel provided
  • metamagic.json: no more maintained
  • orjson: not a drop-in replacement
  • python-cjson: no more maintained
  • simdjson: not a drop-in replacement
  • yajl: no more maintained