Array to Map and find vs Array.findFastest: Array.find (25.8x faster)
6,086,153 ops/sec
236,224 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array to Map and find | |
| Array.find |
| Test name | Executions per second |
|---|---|
| ✓ Array.find | 39,848,256 Ops/sec |
| Array to Map and find | 570,024 Ops/sec |