Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Chrome 140
Windows
Desktop
7 months ago
Test name Executions per second
MsgPack Strings Encode 306296.6 Ops/sec
JSON Strings Encode 4014550.5 Ops/sec
MsgPack Numbers Encode 340185.9 Ops/sec
JSON Numbers Encode 2528042.5 Ops/sec
JSON string decode 1617268.4 Ops/sec
msgpack string decode 529766.4 Ops/sec
MsgPack5 Strings Encode 20622.6 Ops/sec
MsgPack5 Numbers Encode 9508.8 Ops/sec
msgpack5 string decode 90466.1 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

  • MsgPack5 Strings Encode

  • MsgPack5 Numbers Encode

  • msgpack5 string decode