Find from array using function reference vs Find by object keysFastest: Find by object keys (2.7x faster)
278,530 ops/sec
101,993 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Find from array using function reference | |
| Find by object keys |
| Test name | Executions per second |
|---|---|
| ✓ Find by object keys | 900,923 Ops/sec |
| Find from array using function reference | 102,846 Ops/sec |