Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 3a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
3 years ago
Test name Executions per second
slice 4755078.5 Ops/sec
substr 4744870.0 Ops/sec
substring 4715381.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring