Run details:
Mozilla/5.0 (X11; CrOS x86_64 14268.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.111 Safari/537.36
Chrome 96
Chrome OS 14268.67.0
Desktop
2 years ago
Test name Executions per second
slice 3161409.2 Ops/sec
substr 3929633.2 Ops/sec
substring 3943255.8 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring