Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0
Chrome 119
Windows
Desktop
8 months ago
Test name Executions per second
MsgPack Strings Encode 654399.2 Ops/sec
JSON Strings Encode 1073531.5 Ops/sec
MsgPack Numbers Encode 472093.4 Ops/sec
JSON Numbers Encode 762841.2 Ops/sec
MsgPack Numbers Decode 839747.9 Ops/sec
JSON Numbers Decode 860461.9 Ops/sec
JSON String Decode 689036.6 Ops/sec
MsgPack String Decode 496352.5 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


;