Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
2 months ago
Test name Executions per second
MsgPack Strings Encode 165471.5 Ops/sec
JSON Strings Encode 620689.6 Ops/sec
MsgPack Numbers Encode 370194.1 Ops/sec
JSON Numbers Encode 404673.8 Ops/sec
MsgPack Numbers Decode 515212.2 Ops/sec
JSON Numbers Decode 352996.5 Ops/sec
JSON String Decode 398444.8 Ops/sec
MsgPack String Decode 302487.7 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


;