Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 3a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
slice 4248326.5 Ops/sec
substr 4252699.5 Ops/sec
substring 4267653.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring