Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 759061.6 Ops/sec
JSON Strings Encode 1252080.4 Ops/sec
MsgPack Numbers Encode 406211.1 Ops/sec
JSON Numbers Encode 798117.4 Ops/sec
MsgPack Numbers Decode 811187.6 Ops/sec
JSON Numbers Decode 1357144.1 Ops/sec
JSON String Decode 984869.0 Ops/sec
MsgPack String Decode 575386.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


;