Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
8 months ago
Test name Executions per second
MsgPack Strings Encode 781893.9 Ops/sec
JSON Strings Encode 1470309.8 Ops/sec
MsgPack Numbers Encode 528596.9 Ops/sec
JSON Numbers Encode 911145.1 Ops/sec
MsgPack Numbers Decode 992152.6 Ops/sec
JSON Numbers Decode 942646.4 Ops/sec
JSON String Decode 895241.8 Ops/sec
MsgPack String Decode 695691.3 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


;