JSON and Binary serializers benchmarks updated

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

 

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.

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 *