Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G925F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36 OPR/47.3.2249.130976
Opera Mobile 47
Android 7.0
Mobile
6 years ago
Test name Executions per second
slice 3573551.2 Ops/sec
substr 1807093.9 Ops/sec
substring 1737532.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring