출처 : http://theburningmonk.com/2014/08/json-serializers-benchmarks-updated-2/
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.
Json.Net, ServiceStack.Text, MongoDB Drive and Jil were all updated to the latest version.
RpgMaker’s NetJson serializer has also been added to the mix and the results are really impressive with a level of performance that’s almost identical to protobuf-net!
Versions tested:
Jil | 1.7.0 |
ServiceStack.Text | 4.0.24 |
Json.Net | 6.0.4 |
fastJson | 2.1.1.0 |
MongoDB Drive | 1.9.2 |
System.Json | 4.0.20126.16343 |
System.Text.Json | 1.9.9.1 |
JsonFx | 2.0.1209.2802 |
JayRock | 0.9.16530 |