Run details:
Mozilla/5.0 (Linux; Android 9; ONEPLUS A3003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36
Chrome Mobile 76
Android
Mobile
5 years ago
Test name Executions per second
slice 5668816.0 Ops/sec
substr 5617580.0 Ops/sec
substring 5388313.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring