Run details:
Mozilla/5.0 (Linux; Android 7.0; LG-H830) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.86 Mobile Safari/537.36
Chrome Mobile 87
Android 7.0
Mobile
3 years ago
Test name Executions per second
slice 3574713.8 Ops/sec
substr 3488120.5 Ops/sec
substring 3486608.8 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring