Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
one year ago
Test name Executions per second
slice 3743365.0 Ops/sec
substr 3785727.0 Ops/sec
substring 3762803.8 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring