Run details:
Mozilla/5.0 (Linux; Android 7.0; Android SDK built for x86_64 Build/NYC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 7.0
Mobile
5 years ago
Test name Executions per second
slice 9744504.0 Ops/sec
substr 9616222.0 Ops/sec
substring 9591094.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring