Run details:
Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
slice 5791745.0 Ops/sec
substr 5822101.5 Ops/sec
substring 5802468.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring