Script Preparation code:
Tests:

Historical Performance Data aggregated from 1,135 community runs

Desktop Results:
Chrome 924 runs
Array.prototype.find
2K/s
Array.prototype.findIndex
2K/s
View exact numbers
  • Array.prototype.find: 2,064 ops/sec
  • Array.prototype.findIndex: 2,056 ops/sec
Firefox 143 runs
Array.prototype.findIndex
3K/s
Array.prototype.find
3K/s
View exact numbers
  • Array.prototype.findIndex: 2,782 ops/sec
  • Array.prototype.find: 2,766 ops/sec
Safari 20 runs
Array.prototype.findIndex
16K/s
Array.prototype.find
15K/s
View exact numbers
  • Array.prototype.findIndex: 15,622 ops/sec
  • Array.prototype.find: 15,456 ops/sec
Other 16 runs
Array.prototype.findIndex
2K/s
Array.prototype.find
2K/s
View exact numbers
  • Array.prototype.findIndex: 2,026 ops/sec
  • Array.prototype.find: 1,926 ops/sec
Mobile Results:
Chrome 19 runs
Array.prototype.find
1K/s
Array.prototype.findIndex
999/s
View exact numbers
  • Array.prototype.find: 1,044 ops/sec
  • Array.prototype.findIndex: 999 ops/sec
Safari 13 runs
Array.prototype.find
17K/s
Array.prototype.findIndex
17K/s
View exact numbers
  • Array.prototype.find: 16,705 ops/sec
  • Array.prototype.findIndex: 16,652 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 OPR/132.0.0.0
Opera 132 on Windows
View result in a separate tab
Array.prototype.findIndex
2K/s
Array.prototype.find
2K/s
View exact numbers
Test name Executions per second
Array.prototype.findIndex 2,269 Ops/sec
Array.prototype.find 2,265 Ops/sec