JSON and Binary serializers benchmarks updated

Yan Cui

I help clients go faster for less using serverless technologies.

This article is brought to you by

Don’t reinvent the patterns. Catalyst gives you consistent APIs for messaging, data, and workflow with key microservice patterns like circuit-breakers and retries for free.

Try the Catalyst beta

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. This is your one-stop shop for quickly levelling up your serverless skills.
  2. I help clients launch product ideas, improve their development processes and upskill their teams. If you’d like to work together, then let’s get in touch.
  3. Join my community on Discord, ask questions, and join the discussion on all things AWS and Serverless.

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 *