本文内容来自http://theburningmonk.com/benchmarks/,作者收集了各种序列化库的性能数据,数据仅供参考,作为一个经验法则你应该自己动手针对您的实际数据和用例做测试。

1、二进制序列化

各种序列化库的性能数据

各种序列化库的性能数据

各种序列化库的性能数据

Seri­al­iz­ers Tested

Bina­ry­For­mat­ter

protobuf-net v2.0.0.480

Msg­Pack v0.1.4298.15470

Mes­sage­Shark

更多信息看这里.

2、Json序列化

各种序列化库的性能数据

各种序列化库的性能数据

Seri­al­iz­ers Tested

Json.Net v4.5.10

ServiceStack.Text v3.9.28

Dat­a­Con­trac­tJ­son­Se­ri­al­izer

JavaScript­Se­ri­al­izer

Sim­ple­J­son

fastJ­son v1.9.6

Jay­Rock v0.9.12915

JsonFx v2.0.1209.2802

Mon­goDB Dri­ver v1.6.1

更多信息看这里.

相关文章:

  • 2021-06-09
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2021-04-01
  • 2021-06-23
猜你喜欢
  • 2021-06-12
  • 2022-12-23
  • 2021-06-09
  • 2022-02-22
  • 2021-10-09
  • 2021-10-09
相关资源
相似解决方案