Script Preparation code:
Tests:
  • indexOf

  • includes

  • regex

  • Equal

  • Strict Equal

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    indexOf
    includes
    regex
    Equal
    Strict Equal

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117 on Windows
View result in a separate tab
Test name Executions per second
indexOf 1035488000.0 Ops/sec
includes 29384930.0 Ops/sec
regex 27206990.0 Ops/sec
Equal 846967000.0 Ops/sec
Strict Equal 856356100.0 Ops/sec