ProtoBuf效率测试对比

  打包 解包
  包大小 耗时(1万次/毫秒) 包大小 耗时(1万次/毫秒)
序号 TX Proto TX Proto TX Proto TX Proto
1 6893 5843 259l 1328l 5805 4950 252l 1049l
2 6893 5843 259l 1329l 5805 4952 250l 1050l
3 5793 4943 230l 1141l 6905 5850 297l 1213l
4 5793 4943 229l 1143l 6917 5859 295l 1212l
AVG 6343 5393 2443 12353 6358 5403 2736 11311
posted @ 2014-12-09 11:27  wkccs  阅读(1165)  评论(0编辑  收藏  举报