Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-A530N/KSU3CSE1 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.2 Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android
Mobile
5 years ago
Test name Executions per second
slice 4610936.5 Ops/sec
substring 4632760.0 Ops/sec
substr 4689353.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr