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