Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
Chrome 88
Mac OS X 11.1.0
Desktop
3 years ago
Test name Executions per second
MsgPack Strings Encode 149378.8 Ops/sec
JSON Strings Encode 430671.3 Ops/sec
MsgPack Numbers Encode 174435.4 Ops/sec
JSON Numbers Encode 382990.9 Ops/sec
JSON string decode 335074.2 Ops/sec
msgpack string decode 193208.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


;