Run details:
Mozilla/5.0 (Linux; Android 11; J9210) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
slice 6212354.5 Ops/sec
substr 5511936.5 Ops/sec
substring 5457183.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring