Script Preparation code:
Tests:
  • indexOf

  • No cached regex

  • Cached regex

  • includes

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    indexOf
    No cached regex
    Cached regex
    includes

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3775.0 Safari/537.36
Chrome 76 on Mac OS X 10.14.0
View result in a separate tab
Test name Executions per second
indexOf 5813602.0 Ops/sec
No cached regex 3688091.5 Ops/sec
Cached regex 1895945.6 Ops/sec
includes 4029178.2 Ops/sec


;