Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 783132.6 Ops/sec
JSON Strings Encode 898753.3 Ops/sec
MsgPack Numbers Encode 1009166.4 Ops/sec
JSON Numbers Encode 882259.9 Ops/sec
MsgPack Numbers Decode 1398245.1 Ops/sec
JSON Numbers Decode 818181.8 Ops/sec
JSON String Decode 916525.9 Ops/sec
MsgPack String Decode 1008695.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • MsgPack Numbers Decode

  • JSON Numbers Decode

  • JSON String Decode

  • MsgPack String Decode


;