Run details:
Mozilla/5.0 (Android 5.0.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android 5.0.2
Mobile
5 years ago
Test name Executions per second
slice 4002538.2 Ops/sec
substr 16992170.0 Ops/sec
substring 3994282.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring