JSON and Binary serializers benchmarks updated

Yan Cui

I help clients go faster for less using serverless technologies.

DISCLAIMER : as always, you should bench­mark against your pay­load and use case, the bench­mark num­bers I have pro­duced here is unlikely to be rep­re­sen­ta­tive of your use cases and nei­ther is any­body else’s bench­mark numbers.

You can use the sim­ple test har­ness I cre­ated and see these exam­ple code to bench­mark against your par­tic­u­lar payload.

 

Binary Serializers

All serializers are updated to the current latest version.

image

image

Versions tested:

Protobuf-net 2.0.0.668
MessagePack 0.1.0.2011042300
FsPickler 0.9.5-alpha
Filbert 0.2.0
Json.Net 6.0.3
FluorineFx 1.2.4

 

JSON Serializers

FastJsonParser (which only supports deserialization and comes under the System.Text.Json namespace) was added to the mix, all other serializers are updated the current latest version.

image

image

Versions tested:

Jil 1.5.0
ServiceStack.Text 4.0.22
Json.Net 6.0.3
fastJson 2.1.1.0
MongoDB Drive 1.9.1
System.Json 4.0.20126.16343
System.Text.Json 1.9.9.1
JsonFx 2.0.1209.2802
JayRock 0.9.16530

Whenever you’re ready, here are 3 ways I can help you:

  1. Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game.
  2. Consulting: If you want to improve feature velocity, reduce costs, and make your systems more scalable, secure, and resilient, then let’s work together and make it happen.
  3. Join my FREE Community on Skool, where you can ask for help, share your success stories and hang out with me and other like-minded people without all the negativity from social media.

 

4 thoughts on “JSON and Binary serializers benchmarks updated”

  1. Pingback: 8???ASP.NET Web API????? | ?????

  2. Pingback: 8???ASP.NET Web API????? | ????

  3. Pingback: IDG Contributor Network: Improving Web API performance - Strato Comp

  4. Pingback: 8 ways to improve ASP.NET Web API performance

Leave a Comment

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