Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
8 months ago
Test name Executions per second
MsgPack Strings Encode 672933.1 Ops/sec
JSON Strings Encode 1469180.8 Ops/sec
MsgPack Numbers Encode 1027272.7 Ops/sec
JSON Numbers Encode 1074492.8 Ops/sec
MsgPack Numbers Decode 1505364.1 Ops/sec
JSON Numbers Decode 929039.6 Ops/sec
JSON String Decode 866516.4 Ops/sec
MsgPack String Decode 830409.6 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


;