Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://voidfiles.github.io/python-serialization-benchmark/
A public python serialization benchmark
https://voidfiles.github.io/python-serialization-benchmark/
Last synced: 2 months ago
JSON representation
A public python serialization benchmark
- Host: GitHub
- URL: https://voidfiles.github.io/python-serialization-benchmark/
- Owner: voidfiles
- Created: 2016-11-24T07:19:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T15:13:39.000Z (12 months ago)
- Last Synced: 2024-08-03T23:12:32.524Z (6 months ago)
- Language: Python
- Size: 62.5 KB
- Stars: 32
- Watchers: 4
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-django-performance - Python Serialization Benchmark - A set of benchmarks for Python serialization frameworks. (Serialization / Articles)
README
# Python Serialization Benchmark
This [repository](http://github.com/voidfiles/python-serialization-benchmark) maintains a set of benchmarks for python serialization frameworks.
You can find the latest benchmarks on [this page](https://voidfiles.github.io/python-serialization-benchmark/).
Currently the following projects are benchmarked.
* [Django REST Framework](http://www.django-rest-framework.org/)
* [serpy](http://serpy.readthedocs.io/)
* [Marshmallow](https://marshmallow.readthedocs.io/en/latest/)
* [Strainer](https://github.com/voidfiles/strainer)
* [Lollipop](http://lollipop.readthedocs.io/en/latest/)
* [Kim](http://kim.readthedocs.io/en/latest/)
* [Toasted Marshmallow](https://github.com/lyft/toasted-marshmallow)
* [Colander](https://docs.pylonsproject.org/projects/colander/en/latest/)
* [Lima](https://github.com/b6d/lima/)
- [Serpyco](https://gitlab.com/sgrignard/serpyco)
* [Avro](https://avro.apache.org/)Along with a baseline custom function that doesn't use a framework.
## Running the test suite
A Docker container is bundled with the repository which you can use to run the benchmarks. Firstly make sure you have Docker installed.
1. Install Docker
2. Build the container `$ docker-compose build`
3. Run the tests. `$ docker-compose run --rm tests`