Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Chrome 84
Windows 7
Desktop
4 years ago
Test name Executions per second
MsgPack Strings Encode 92820.4 Ops/sec
JSON Strings Encode 267050.7 Ops/sec
MsgPack Numbers Encode 113417.1 Ops/sec
JSON Numbers Encode 250975.7 Ops/sec
JSON string decode 240121.1 Ops/sec
msgpack string decode 153744.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


;