Script Preparation code:
Tests:
  • Array.findIndex

  • Array.indexOf

  • Array.from(new Set(array))

  • Object-filter

  • Object-values

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.findIndex
    Array.indexOf
    Array.from(new Set(array))
    Object-filter
    Object-values

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126 on Windows
View result in a separate tab
Test name Executions per second
Array.findIndex 80.4 Ops/sec
Array.indexOf 117.7 Ops/sec
Array.from(new Set(array)) 4068.0 Ops/sec
Object-filter 9752.6 Ops/sec
Object-values 10600.6 Ops/sec