Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
one month ago
Test name Executions per second
MsgPack Strings Encode 395764.4 Ops/sec
JSON Strings Encode 815583.9 Ops/sec
MsgPack Numbers Encode 473822.3 Ops/sec
JSON Numbers Encode 606518.1 Ops/sec
MsgPack Numbers Decode 689683.1 Ops/sec
JSON Numbers Decode 397575.4 Ops/sec
JSON String Decode 468934.8 Ops/sec
MsgPack String Decode 512575.9 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


;