Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
MsgPack Strings Encode 109298.1 Ops/sec
JSON Strings Encode 1084496.9 Ops/sec
MsgPack Numbers Encode 218215.0 Ops/sec
JSON Numbers Encode 675091.3 Ops/sec
JSON string decode 748744.6 Ops/sec
msgpack string decode 126114.8 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


;