Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 926386.9 Ops/sec
JSON Strings Encode 1219781.1 Ops/sec
MsgPack Numbers Encode 527185.0 Ops/sec
JSON Numbers Encode 852852.1 Ops/sec
MsgPack Numbers Decode 1037318.8 Ops/sec
JSON Numbers Decode 1480354.1 Ops/sec
JSON String Decode 865013.6 Ops/sec
MsgPack String Decode 630052.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


;