Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
2 years ago
Test name Executions per second
MsgPack Strings Encode 329026.0 Ops/sec
JSON Strings Encode 377458.8 Ops/sec
MsgPack Numbers Encode 406529.9 Ops/sec
JSON Numbers Encode 356464.5 Ops/sec
MsgPack Numbers Decode 638802.7 Ops/sec
JSON Numbers Decode 608302.1 Ops/sec
JSON String Decode 474244.1 Ops/sec
MsgPack String Decode 373556.8 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


;