DISCLAIMER : as always, you should benchmark against your payload and use case, the benchmark numbers I have produced here is unlikely to be representative of your use cases and neither is anybody else’s benchmark numbers.
You can use the simple test harness I created and see these example code to benchmark against your particular payload.
Binary Serializers
All serializers are updated to the current latest version.
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.
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 |
Pingback: 8???ASP.NET Web API????? | ?????
Pingback: 8???ASP.NET Web API????? | ????
Pingback: IDG Contributor Network: Improving Web API performance - Strato Comp
Pingback: 8 ways to improve ASP.NET Web API performance