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

  • substr

  • substring