Array.prototype.find vs Array.prototype.findIndexFastest: Array.prototype.findIndex (120.0x faster)
120,354 ops/sec
1,003 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array.prototype.find | |
| Array.prototype.findIndex |
| Test name | Executions per second |
|---|---|
| ✓ Array.prototype.findIndex | 15,285 Ops/sec |
| Array.prototype.find | 3,179 Ops/sec |