Run details:
Mozilla/5.0 (X11; CrOS x86_64 13904.97.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.167 Safari/537.36
Chrome 91
Chrome OS 13904.97.0
Desktop
2 years ago
Test name Executions per second
slice 4415338.0 Ops/sec
substr 4935305.0 Ops/sec
substring 5612601.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring