Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Ubuntu
Desktop
4 years ago
Test name Executions per second
MsgPack Strings Encode 27347.9 Ops/sec
JSON Strings Encode 210009.8 Ops/sec
MsgPack Numbers Encode 60096.2 Ops/sec
JSON Numbers Encode 166312.1 Ops/sec
JSON string decode 180705.6 Ops/sec
msgpack string decode 76755.2 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


;