Run details:
Mozilla/5.0 (Linux; Android 10; moto g(7) plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.81 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
slice 3276442.8 Ops/sec
substr 3291428.0 Ops/sec
substring 797737.1 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring