Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
slice 3461041.2 Ops/sec
substring 3447353.5 Ops/sec
substr 3486915.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr