Binary and Json 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.


Only FsPick­ler and Json.Net was updat­ed for this bench­mark and there are no sig­nif­i­cant changes in per­for­mance in either update.





Quite a few of the JSON seri­al­iz­ers had been updat­ed since the last update :

  • fastJ­SON
  • FsPick­ler
  • Jil
  • Mon­goDB Dri­ver
  • NetJ­SON
  • Json.Net
  • ServiceStack.Text
  • System.Text.Json

Of the updates, System.Text.Json has seen the biggest change in per­for­mance, near­ly halved its dese­ri­al­iza­tion time.



*pro­to­buf-net is in this list pure­ly as a bench­mark to show how the test­ed JSON seri­al­iz­ers com­pare to one of the fastest bina­ry seri­al­iz­er in .Net.