Test name | Executions per second |
---|---|
lodash.each | 1146.8 Ops/sec |
native for-of w/ entries | 280.2 Ops/sec |
native forEach w/ entries | 592.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1282.9 Ops/sec |
vanilla for-loop w/ Object.entries | 278.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 2711.9 Ops/sec |
native forEach w/ Object.values (no keys) | 1924.8 Ops/sec |
native for-in | 239.4 Ops/sec |