Run details:
Mozilla/5.0 (Linux; Android 10; Mi A2 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.111 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
slice 1636128.1 Ops/sec
substr 1620222.9 Ops/sec
substring 1638911.6 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring