Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
MsgPack Strings Encode 807242.2 Ops/sec
JSON Strings Encode 1974577.6 Ops/sec
MsgPack Numbers Encode 1472441.9 Ops/sec
JSON Numbers Encode 1374552.5 Ops/sec
MsgPack Numbers Decode 2023158.2 Ops/sec
JSON Numbers Decode 1283482.6 Ops/sec
JSON String Decode 1217453.6 Ops/sec
MsgPack String Decode 961872.2 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


;