Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/121.0.6167.171 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 121
iOS 17.2
Mobile
9 months ago
Test name Executions per second
MsgPack Strings Encode 40238.8 Ops/sec
JSON Strings Encode 2115835.8 Ops/sec
MsgPack Numbers Encode 156082.5 Ops/sec
JSON Numbers Encode 1359587.8 Ops/sec
JSON string decode 1268116.5 Ops/sec
msgpack string decode 301484.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • JSON string decode

  • msgpack string decode


;