Run details:
Mozilla/5.0 (Linux; Android 10; Mi 9T Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
slice 9005119.0 Ops/sec
substring 8833338.0 Ops/sec
substr 8918897.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr