Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Safari/537.36 OPR/60.3.3004.55692
Opera 60
Linux
Desktop
4 months ago
Test name Executions per second
MsgPack Strings Encode 11390.0 Ops/sec
JSON Strings Encode 39515.6 Ops/sec
MsgPack Numbers Encode 13742.3 Ops/sec
JSON Numbers Encode 34632.1 Ops/sec
JSON string decode 37260.3 Ops/sec
msgpack string decode 10164.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • JSON string decode

  • msgpack string decode