Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Mac OS X 11.2.0
Desktop
3 years ago
Test name Executions per second
MsgPack Strings Encode 130552.3 Ops/sec
JSON Strings Encode 357274.1 Ops/sec
MsgPack Numbers Encode 154883.5 Ops/sec
JSON Numbers Encode 330186.9 Ops/sec
JSON string decode 321779.4 Ops/sec
msgpack string decode 168769.9 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


;