Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Waterfox/78.9.0
Firefox 78
Windows
Desktop
3 years ago
Test name Executions per second
MsgPack Strings Encode 47391.7 Ops/sec
JSON Strings Encode 349837.5 Ops/sec
MsgPack Numbers Encode 103942.8 Ops/sec
JSON Numbers Encode 241825.8 Ops/sec
JSON string decode 303985.4 Ops/sec
msgpack string decode 106365.9 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