Script Preparation code:
Tests:
  • Array.prototype.findIndex

  • For loop

  • While loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.findIndex
    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: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Array.prototype.findIndex 3141.1 Ops/sec
For loop 11428.8 Ops/sec
While loop 8410.7 Ops/sec