Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
24 days ago
Test name Executions per second
MsgPack Strings Encode 594768.6 Ops/sec
JSON Strings Encode 1256758.2 Ops/sec
MsgPack Numbers Encode 1027639.9 Ops/sec
JSON Numbers Encode 838677.9 Ops/sec
MsgPack Numbers Decode 1618937.2 Ops/sec
JSON Numbers Decode 1170409.6 Ops/sec
JSON String Decode 972998.5 Ops/sec
MsgPack String Decode 845213.0 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


;