lodash forOwn vs Keys and then forEachFastest: Keys and then forEach (1.5x faster)
10,222,309 ops/sec
6,978,368 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| lodash forOwn | |
| Keys and then forEach |
| Test name | Executions per second |
|---|---|
| ✓ Keys and then forEach | 33,141,216 Ops/sec |
| lodash forOwn | 8,665,680 Ops/sec |