Run details:
Mozilla/5.0 (X11; CrOS x86_64 13310.33.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.48 Safari/537.36
Chrome 85
Chrome OS 13310.33.0
Desktop
4 years ago
Test name Executions per second
slice 12608277.0 Ops/sec
substr 12604854.0 Ops/sec
substring 12532218.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring