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 4658828.5 Ops/sec
substr 4665803.5 Ops/sec
substring 4649119.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring