Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Linux
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 537022.9 Ops/sec
JSON Strings Encode 659831.0 Ops/sec
MsgPack Numbers Encode 542030.2 Ops/sec
JSON Numbers Encode 511306.9 Ops/sec
MsgPack Numbers Decode 883964.8 Ops/sec
JSON Numbers Decode 873637.0 Ops/sec
JSON String Decode 584678.3 Ops/sec
MsgPack String Decode 418045.6 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


;