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: 30 days ago
JSON representation
Guess what is the best JSON drop-in module in the Python ecosystem.
- Host: GitHub
- URL: https://github.com/bobotig/python-fastest-json-module
- Owner: BoboTiG
- License: mit
- Created: 2023-04-12T20:39:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T19:46:01.000Z (2 months ago)
- Last Synced: 2025-05-05T20:45:50.565Z (2 months ago)
- Topics: benchmark, efficient, fast, json, python, python3, python310, python311, python312, python313, python37, python38, python39
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fastest JSON Python module
> [!TIP]
> Become **my boss** to help me work on this awesome software, and make the world better:
>
> [](https://www.patreon.com/mschoentgen)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)
- 🍎 [macOS](results/mac.md)
- 🪟 [Windows](results/windows.md)## Not An Option
### Incorrect Output
But they are still tested, in case their behavior changes over time.
- `orjson`
- `pysimdjson`### Not a Drop-In Replacement
- `cysimdjson`
### No More Maintained
- `hyperjson`
- `jsonlib2`
- `libpy_simdjson`
- `metamagic.json`
- `python-cjson`
- `yajl`