This repository maintains a set of benchmarks for python serialization frameworks.
You can find the latest benchmarks on this page.
Currently the following projects are benchmarked.
- Django REST Framework
- serpy
- Marshmallow
- Strainer
- Lollipop
- Kim
- Toasted Marshmallow
- Colander
- Lima
- Avro
Along with a baseline custom function that doesn't use a framework.
A Docker container is bundled with the repository which you can use to run the benchmarks. Firstly make sure you have Docker installed.
-
Install Docker
-
Build the container
$ docker-compose build -
Run the tests.
$ docker-compose run --rm tests