Comparison of data serialization formats
Comparison of data serialization formats in Python
To get a local copy up and running follow these simple steps.
Local
git clone https://github.com/whiteRa2bit/serializers.git
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
Docker
You can either build an image yourself or pull a ready one from Dockerhub
Build
docker build -t whitera2bit/soa_serializers . -f dockerfiles/Dockerfile
Pull from Dockerhub
docker pull whitera2bit/soa_serializers
To get timing results and serialized data run:
If you used local setup:
python benchmark.py
If you used docker:
docker run --name soa_serializers -t whitera2bit/soa_serializers
Serialized data is stored at: data/serialized
Deserialized data is stored at data/desirialized
Report at docs/report.xlsx
Distributed under the MIT License. See LICENSE
for more information.
Pavel Fakanov - pavel.fakanov@gmail.com
Project Link: https://github.com/whiteRa2bit/serializers