Run details:
Mozilla/5.0 (Linux; Android 9) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/93.0.4577.82 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
slice 3638553.8 Ops/sec
substring 3618385.0 Ops/sec
substr 3688368.8 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr