Test name | Executions per second |
---|---|
lodash.each | 7625.0 Ops/sec |
native for-of w/ entries | 3551.4 Ops/sec |
native forEach w/ entries | 4871.1 Ops/sec |
vanilla for-loop w/ Object.keys | 2419.4 Ops/sec |
vanilla for-loop w/ Object.entries | 4658.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 69244.1 Ops/sec |
native forEach w/ Object.values (no keys) | 69611.9 Ops/sec |
native for-in | 1227.1 Ops/sec |