Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 1199327.2 Ops/sec
JSON Strings Encode 2224375.2 Ops/sec
MsgPack Numbers Encode 599657.0 Ops/sec
JSON Numbers Encode 1534489.4 Ops/sec
MsgPack Numbers Decode 1604345.2 Ops/sec
JSON Numbers Decode 502486.1 Ops/sec
JSON String Decode 1108307.8 Ops/sec
MsgPack String Decode 1041884.1 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


;