Test name | Executions per second |
---|---|
lodash.each | 7257.8 Ops/sec |
native for-of w/ entries | 4550.5 Ops/sec |
native forEach w/ entries | 4640.0 Ops/sec |
vanilla for-loop w/ Object.keys | 2158.1 Ops/sec |
vanilla for-loop w/ Object.entries | 4550.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 71623.3 Ops/sec |
native forEach w/ Object.values (no keys) | 60817.4 Ops/sec |
native for-in | 1093.0 Ops/sec |