Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Windows
Desktop
22 days ago
Test name Executions per second
MsgPack Strings Encode 579281.6 Ops/sec
JSON Strings Encode 1221778.9 Ops/sec
MsgPack Numbers Encode 753368.2 Ops/sec
JSON Numbers Encode 859097.5 Ops/sec
MsgPack Numbers Decode 1255884.5 Ops/sec
JSON Numbers Decode 792478.6 Ops/sec
JSON String Decode 798495.4 Ops/sec
MsgPack String Decode 839275.1 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