Binary and Json benchmarks updated

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.

You can use the simple test harness I created and see these example code to benchmark against your particular payload.

 

Binary

Only FsPickler was updated for this benchmark so there are no significant changes in performance here.

image

image

 

JSON

Quiet a few of the JSON serializers had been updated since the last update:

  • fastJSON
  • FsPickler
  • Jil
  • MongoDB Driver
  • ServiceStack.Text
  • System.Text.Json

I have retired JayRock and JsonFx from the test since both are way behind the competition and haven’t updated for a while, so I consider both to be no longer of interest.

image

image

*protobuf-net is in this list purely as a bench­mark to show how the tested JSON seri­al­iz­ers com­pare to one of the fastest binary seri­al­izer in .Net.

 

Learn to build Production-Ready Serverless applications

Want to learn how to build Serverless applications and follow best practices? Subscribe to my newsletter and join over 5,000 AWS & Serverless enthusiasts who have signed up already.

1 thought on “Binary and Json benchmarks updated”

  1. Pingback: Binary and Json benchmarks updated | theburningmonk.com

Leave a Comment

Your email address will not be published. Required fields are marked *