Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
3 years ago
Test name Executions per second
MsgPack Strings Encode 29758.1 Ops/sec
JSON Strings Encode 213646.2 Ops/sec
MsgPack Numbers Encode 62879.1 Ops/sec
JSON Numbers Encode 159952.3 Ops/sec
JSON string decode 153196.7 Ops/sec
msgpack string decode 81448.4 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


;