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
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
MsgPack Strings Encode 184107.2 Ops/sec
JSON Strings Encode 1128352.9 Ops/sec
MsgPack Numbers Encode 254417.3 Ops/sec
JSON Numbers Encode 811017.4 Ops/sec
JSON string decode 672479.2 Ops/sec
msgpack string decode 288121.2 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


;