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

  • Array.prototype.findIndex

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.indexOf
    Array.prototype.findIndex

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; CrOS x86_64 13597.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.186 Safari/537.36
Chrome 88 on Chrome OS 13597.94.0
View result in a separate tab
Test name Executions per second
Array.prototype.indexOf 19146.1 Ops/sec
Array.prototype.findIndex 326.4 Ops/sec