It’s been a while since I last updated my binary and JSON serializer benchmarks, so here I round up the latest versions of the serializers on here.
DISCLAIMER : as always, you should benchmark against your payload and use case, the benchmark numbers I have produced here is unlikely to be representative of your use cases and neither is anybody else’s benchmark numbers.
Only FsPickler was updated for this benchmark so there are no significant changes in numbers here (with the exception of the BinaryWriter!).
Quite a few of the JSON serializers have been updated:
- MongoDB Driver
- Newtonsoft.Json (aka Json.Net)
Jil seems to have made the biggest gains since the last time.
*protobuf-net is in this list purely as a benchmark to show how the test JSON serializers compare to one of the fastest binary serializers (both in terms of speed and payload size)
Subscribe to my newsletter and get new contents delivered straight to your inbox :-)