Run details:
Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
slice 4429559.5 Ops/sec
substr 4459430.0 Ops/sec
substring 4426159.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring