Skip to content

BoboTiG/python-fastest-json-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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