Test name | Executions per second |
---|---|
lodash.each | 1578.0 Ops/sec |
native for-of w/ entries | 771.3 Ops/sec |
native forEach w/ entries | 1235.9 Ops/sec |
vanilla for-loop w/ Object.keys | 2105.9 Ops/sec |
vanilla for-loop w/ Object.entries | 970.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 4003.3 Ops/sec |
native forEach w/ Object.values (no keys) | 3549.7 Ops/sec |
native for-in | 599.6 Ops/sec |