Script Preparation code:
  • Array.prototype.findIndex

  • For loop

  • While loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    For loop
    While loop

    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: 2 days 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
Array.prototype.findIndex 2981.5 Ops/sec
For loop 15282.0 Ops/sec
While loop 1152258000.0 Ops/sec