Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bobotig/python-fastest-json-module
- Owner: BoboTiG
- License: mit
- Created: 2023-04-12T20:39:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T11:15:43.000Z (11 days ago)
- Last Synced: 2024-11-02T12:17:53.828Z (11 days ago)
- Topics: benchmark, efficient, fast, json, python, python3, python310, python311, python312, python313, python37, python38, python39
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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