Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-N920C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.80 Mobile Safari/537.36
Chrome Mobile 94
Android 7.0
Mobile
2 years ago
Test name Executions per second
slice 2428446.5 Ops/sec
substr 3502051.5 Ops/sec
substring 3894992.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring