Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.5.1
Mobile
3 years ago
Test name Executions per second
MsgPack Strings Encode 20507.6 Ops/sec
JSON Strings Encode 673660.9 Ops/sec
MsgPack Numbers Encode 88398.7 Ops/sec
JSON Numbers Encode 370914.4 Ops/sec
JSON string decode 592815.1 Ops/sec
msgpack string decode 120703.4 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


;