Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G955N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
slice 4174434.2 Ops/sec
substring 4194702.0 Ops/sec
substr 4058896.8 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr