How does protobuf-net achieve respectable performance?

前端 未结 2 1443
天命终不由人
天命终不由人 2021-01-30 05:13

I want to understand why the protocol buffers solution for .NET developed by Marc Gravell is as fast as it is.

I can understand how the original Google solution achieve

2条回答
  •  无人及你
    2021-01-30 05:51

    Its performance very good!

    You can see a comprehensive comparison between different formats including protobuf done by me- http://maxondev.com/serialization-performance-comparison-c-net-formats-frameworks-xmldatacontractserializer-xmlserializer-binaryformatter-json-newtonsoft-servicestack-text/

    This comparison includes large and small data samples and different formats.

    One of the tests in my post- enter image description here

提交回复
热议问题