sourcemeta-research/json-size-benchmark

An automated and extensible space-efficiency benchmark of JSON-compatible serialization specifications

Python

7

220 commits

updated May 2, 2024

See the code

README

A Space-efficiency Benchmark of JSON-compatible Serialization Specifications

This is an extensible and open-source research project that aims to measure the space-efficiency characteristics of the available JSON-compatible serialization specifications. This work is based on the research from A Benchmark of JSON-compatible Binary Serialization Specifications from the same author.


See Results: https://benchmark.sourcemeta.com


Running Locally

This project makes use of Docker to run the benchmark in a reproducible environment:

# Run the benchmark
make

# Check the results at `output`
open output/index.html

Contributing

We accept contributions that introduce new JSON-compatible serialization specifications or that add new JSON input documents to the benchmark.

License

This project is released under the terms specified in the license.

avro
avro-format
avro-schema
benchmark
bson
capnp
capnproto
cbor
flatbuffers
flexbuffers
json
messagepack
msgpack
protobuf
protobuf3
protocol-buffers
smile
space-efficiency
thrift
ubjson

Contributors

jviotti

220 commits

sourcemeta-research/json-size-benchmark

An automated and extensible space-efficiency benchmark of JSON-compatible serialization specifications

Python

7

220 commits

updated May 2, 2024

See the code

README

A Space-efficiency Benchmark of JSON-compatible Serialization Specifications

This is an extensible and open-source research project that aims to measure the space-efficiency characteristics of the available JSON-compatible serialization specifications. This work is based on the research from A Benchmark of JSON-compatible Binary Serialization Specifications from the same author.


See Results: https://benchmark.sourcemeta.com


Running Locally

This project makes use of Docker to run the benchmark in a reproducible environment:

# Run the benchmark
make

# Check the results at `output`
open output/index.html

Contributing

We accept contributions that introduce new JSON-compatible serialization specifications or that add new JSON input documents to the benchmark.

License

This project is released under the terms specified in the license.

avro
avro-format
avro-schema
benchmark
bson
capnp
capnproto
cbor
flatbuffers
flexbuffers
json
messagepack
msgpack
protobuf
protobuf3
protocol-buffers
smile
space-efficiency
thrift
ubjson

Contributors

jviotti

220 commits

Languages

Python

68.5%

Makefile

9.5%

Thrift

9.4%

Cap'n Proto

7.6%

JavaScript

2.2%

HTML

2.0%