Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Chrome 59
Linux
Other
7 years ago
Test name Executions per second
unneededNonCaptureRE 2006443.1 Ops/sec
noNonCaptureRE 1979347.8 Ops/sec
anotherUnneededNonCapture 2615443.2 Ops/sec
anotherNoNonCapture 2086477.8 Ops/sec
indexOf 11609892.0 Ops/sec
Script Preparation code:
Tests:
  • unneededNonCaptureRE

  • noNonCaptureRE

  • anotherUnneededNonCapture

  • anotherNoNonCapture

  • indexOf


;