Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G920F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android 7.0
Mobile
2 years ago
Test name Executions per second
slice 3838626.0 Ops/sec
substring 3947969.0 Ops/sec
substr 3983779.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr