Run details:
Mozilla/5.0 (Linux; Android 9; Mi 9T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
4 years ago
Test name Executions per second
slice 6615598.5 Ops/sec
substr 6580940.0 Ops/sec
substring 6619129.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring