Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16B92 QQ/7.8.8.420 V1_IPH_SQ_7.8.8_1_APP_A Pixel/1242 Core/WKWebView Device/Apple(iPhone X) NetType/WIFI QBWebViewType/1 WKType/1
Mobile Safari 12
iOS 12.1
Mobile
5 years ago
Test name Executions per second
slice 10505358.0 Ops/sec
substr 6288008.0 Ops/sec
substring 877.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring