Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
Mobile Safari 12
iOS 12.4.7
Mobile
4 years ago
Test name Executions per second
MsgPack Strings Encode 2902.4 Ops/sec
JSON Strings Encode 84428.9 Ops/sec
MsgPack Numbers Encode 14216.1 Ops/sec
JSON Numbers Encode 78354.5 Ops/sec
JSON string decode 82653.8 Ops/sec
msgpack string decode 15227.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


;