Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5630.195 Safari/537.36 Edg/113.0.1676.53
Chrome 114
Mac OS X 11.0
Desktop
one year ago
Test name Executions per second
slice 18545682.0 Ops/sec
substr 18401320.0 Ops/sec
substring 18193598.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring