$.grep vs Array.findFastest: Array.find (2.0x faster)
4,748,564 ops/sec
2,337,200 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| $.grep | |
| Array.find |
| Test name | Executions per second |
|---|---|
| ✓ Array.find | 113,382,696 Ops/sec |
| $.grep | 44,084,796 Ops/sec |