Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
slice 3390404.0 Ops/sec
substr 3390618.5 Ops/sec
substring 3366236.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring