Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.62
Chrome 103
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
MsgPack Strings Encode 272807.0 Ops/sec
JSON Strings Encode 768106.5 Ops/sec
MsgPack Numbers Encode 345867.2 Ops/sec
JSON Numbers Encode 634911.4 Ops/sec
JSON string decode 734175.3 Ops/sec
msgpack string decode 324812.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • JSON string decode

  • msgpack string decode


;