Native findIndex vs _.findIndex vs _.findFastest: Native findIndex (2.3x faster)
13,670,815 ops/sec
6,891,520 ops/sec
6,037,983 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Native findIndex | |
| _.findIndex | |
| _.find |
| Test name | Executions per second |
|---|---|
| ✓ Native findIndex | 108,302,648 Ops/sec |
| _.findIndex | 97,690,832 Ops/sec |
| _.find | 43,925,340 Ops/sec |