Script Preparation code:
Tests:
  • indexOf

  • includes

  • find

  • findIndex

  • set

  • object lookup

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    indexOf
    includes
    find
    findIndex
    set
    object lookup

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 20 days ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Linux
View result in a separate tab
Test name Executions per second
indexOf 157349.0 Ops/sec
includes 153598.0 Ops/sec
find 125537.3 Ops/sec
findIndex 125993.0 Ops/sec
set 185816.1 Ops/sec
object lookup 171690.5 Ops/sec