Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
MsgPack Strings Encode 801298.3 Ops/sec
JSON Strings Encode 1700891.9 Ops/sec
MsgPack Numbers Encode 1107931.1 Ops/sec
JSON Numbers Encode 1202919.2 Ops/sec
MsgPack Numbers Decode 1478318.6 Ops/sec
JSON Numbers Decode 823029.6 Ops/sec
JSON String Decode 949041.7 Ops/sec
MsgPack String Decode 1026630.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


;