Test name | Executions per second |
---|---|
lodash.each | 8210.5 Ops/sec |
native for-of w/ entries | 4478.2 Ops/sec |
native forEach w/ entries | 4641.3 Ops/sec |
vanilla for-loop w/ Object.keys | 2596.3 Ops/sec |
vanilla for-loop w/ Object.entries | 4467.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 84277.0 Ops/sec |
native forEach w/ Object.values (no keys) | 84939.2 Ops/sec |
native for-in | 1304.9 Ops/sec |