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

  • Array.prototype.map + Array.prototype.indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    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.findIndex 310.7 Ops/sec
Array.prototype.map + Array.prototype.indexOf 1666.1 Ops/sec


;