Test name | Executions per second |
---|---|
lodash.each | 3421.1 Ops/sec |
native for-of w/ entries | 1574.3 Ops/sec |
native forEach w/ entries | 1414.3 Ops/sec |
vanilla for-loop w/ Object.keys | 1212.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1587.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 55024.0 Ops/sec |
native forEach w/ Object.values (no keys) | 24569.9 Ops/sec |
native for-in | 578.2 Ops/sec |