Test name | Executions per second |
---|---|
lodash.each | 7997.1 Ops/sec |
native for-of w/ entries | 5015.9 Ops/sec |
native forEach w/ entries | 5355.7 Ops/sec |
vanilla for-loop w/ Object.keys | 2217.6 Ops/sec |
vanilla for-loop w/ Object.entries | 5072.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 71845.6 Ops/sec |
native forEach w/ Object.values (no keys) | 72316.2 Ops/sec |
native for-in | 1170.9 Ops/sec |