Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bobotig/python-fastest-json-module

Guess what is the best JSON drop-in module in the Python ecosystem.
https://github.com/bobotig/python-fastest-json-module

benchmark efficient fast json python python3 python310 python311 python312 python313 python37 python38 python39

Last synced: 4 days ago
JSON representation

Guess what is the best JSON drop-in module in the Python ecosystem.

Awesome Lists containing this project

README

        

# 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](.github/workflows/benchmark.yml).

See the [requirements.txt](requirements.txt) file for exact modules being tested, and [which imports](bench-json.py#L9) are being used in the benchmark script.

## Results

- 🐧 [GNU/Linux](results/linux.md) (spoiler: `python-rapidjson` :tada:)
- 🍎 [macOS](results/mac.md) (spoiler: `python-rapidjson` :tada:)
- 🪟 [Windows](results/windows.md) (spoiler: `ujson` :tada:)

## 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