Run details:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/79.0.3945.79 Chrome/79.0.3945.79 Safari/537.36
Chromium 79
Ubuntu
Desktop
4 years ago
Test name Executions per second
slice 3755837.5 Ops/sec
substr 4102177.0 Ops/sec
substring 4169977.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring