array find vs _.findFastest: array find (2.9x faster)
25,895,782 ops/sec
8,976,018 ops/sec
Fastest: array find (74.4x faster)
960,998,144 ops/sec
12,915,932 ops/sec
Fastest: array find (3.4x faster)
26,852,224 ops/sec
7,886,982 ops/sec
Fastest: array find (3.0x faster)
14,834,951 ops/sec
4,885,941 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| array find | |
| _.find |
| Test name | Executions per second |
|---|---|
| ✓ array find | 76,848,160 Ops/sec |
| _.find | 35,506,800 Ops/sec |