Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.findIndex

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.some
    Array.filter
    Array.indexOf
    Array.findIndex

    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: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38
Chrome 93 on Windows
View result in a separate tab
Test name Executions per second
Array.some 1387477.0 Ops/sec
Array.filter 1094100.0 Ops/sec
Array.indexOf 1829458.0 Ops/sec
Array.findIndex 1390480.0 Ops/sec