Run details:
Mozilla/5.0 (X11; CrOS x86_64 14150.87.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.124 Safari/537.36
Chrome 94
Chrome OS 14150.87.0
Desktop
2 years ago
Test name Executions per second
slice 3012854.2 Ops/sec
substr 3065934.8 Ops/sec
substring 2999563.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring