A primitive comparison between several serialization formats and their performance and serialized size.
Currently compares:
More probably coming soon.
Samples generated with assistance from JSON Generator.
Simply execute benchmark.py
:
./benchmark.py
It supports a couple options for tweaking number of passes and the iteration count per pass.