Array.prototype.forEach vs lodash eachFastest: Array.prototype.forEach (15.7x faster)
111,064,128 ops/sec
7,072,190 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array.prototype.forEach | |
| lodash each |
| Test name | Executions per second |
|---|---|
| ✓ Array.prototype.forEach | 103,297,760 Ops/sec |
| lodash each | 9,193,175 Ops/sec |