forEach (Native) vs each (jQuery)Fastest: forEach (Native) (1.4x faster)
702,614 ops/sec
500,611 ops/sec
Fastest: forEach (Native) (1.3x faster)
927,215 ops/sec
713,257 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| forEach (Native) | |
| each (jQuery) |
| Test name | Executions per second |
|---|---|
| ✓ forEach (Native) | 712,809 Ops/sec |
| each (jQuery) | 500,611 Ops/sec |