Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4115.5 Safari/537.36 OPR/70.0.3693.0 (Edition developer)
Opera 70
Windows
Desktop
4 years ago
Test name Executions per second
slice 11769453.0 Ops/sec
substr 11872759.0 Ops/sec
substring 11937484.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring