Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 1319077.1 Ops/sec
JSON Strings Encode 2664273.0 Ops/sec
MsgPack Numbers Encode 1467780.2 Ops/sec
JSON Numbers Encode 1858899.8 Ops/sec
MsgPack Numbers Decode 2074397.5 Ops/sec
JSON Numbers Decode 1662068.5 Ops/sec
JSON String Decode 1531610.1 Ops/sec
MsgPack String Decode 2042893.0 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