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 unlike­ly to be rep­re­sen­ta­tive of your use cas­es and nei­ther is any­body else’s bench­mark num­bers.

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 pay­load.

 

Binary Serializers

All seri­al­iz­ers are updat­ed to the cur­rent lat­est ver­sion.

image

image

Ver­sions test­ed:

Pro­to­buf-net 2.0.0.668
Mes­sagePack 0.1.0.2011042300
FsPick­ler 0.9.5-alpha
Fil­bert 0.2.0
Json.Net 6.0.3
Flu­o­rine­Fx 1.2.4

 

JSON Serializers

FastJ­son­Pars­er (which only sup­ports dese­ri­al­iza­tion and comes under the System.Text.Json name­space) was added to the mix, all oth­er seri­al­iz­ers are updat­ed the cur­rent lat­est ver­sion.

image

image

Ver­sions test­ed:

Jil 1.5.0
ServiceStack.Text 4.0.22
Json.Net 6.0.3
fastJ­son 2.1.1.0
Mon­goDB Dri­ve 1.9.1
System.Json 4.0.20126.16343
System.Text.Json 1.9.9.1
Json­Fx 2.0.1209.2802
Jay­Rock 0.9.16530