Test name | Executions per second |
---|---|
lodash.each | 4179.6 Ops/sec |
native for-of w/ entries | 1488.0 Ops/sec |
native forEach w/ entries | 1368.0 Ops/sec |
vanilla for-loop w/ Object.keys | 1481.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1501.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 51563.6 Ops/sec |
native forEach w/ Object.values (no keys) | 26681.4 Ops/sec |
native for-in | 769.3 Ops/sec |