Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.8 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15
Mobile Safari 14
iOS 14.8.1
Mobile
2 years ago
Test name Executions per second
MsgPack Strings Encode 79844.0 Ops/sec
JSON Strings Encode 363146.5 Ops/sec
MsgPack Numbers Encode 149831.5 Ops/sec
JSON Numbers Encode 215501.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode


;