Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) coc_coc_browser/87.0.152 Chrome/81.0.4044.152 Safari/537.36
Chrome 81
Windows
Desktop
4 years ago
Test name Executions per second
MsgPack Strings Encode 164700.7 Ops/sec
JSON Strings Encode 416777.2 Ops/sec
MsgPack Numbers Encode 219117.2 Ops/sec
JSON Numbers Encode 355295.6 Ops/sec
JSON string decode 393325.8 Ops/sec
msgpack string decode 180999.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


;