Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Windows
Desktop
one year ago
Test name Executions per second
unneededNonCaptureRE 4288846.5 Ops/sec
noNonCaptureRE 4287936.0 Ops/sec
anotherUnneededNonCapture 5368798.5 Ops/sec
anotherNoNonCapture 7372564.5 Ops/sec
indexOf 914122432.0 Ops/sec
Script Preparation code:
Tests:
  • unneededNonCaptureRE

  • noNonCaptureRE

  • anotherUnneededNonCapture

  • anotherNoNonCapture

  • indexOf