Test name | Executions per second |
---|---|
lodash.each | 5004.3 Ops/sec |
native for-of w/ entries | 2199.0 Ops/sec |
native forEach w/ entries | 2649.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1421.9 Ops/sec |
vanilla for-loop w/ Object.entries | 2596.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 67979.1 Ops/sec |
native forEach w/ Object.values (no keys) | 60440.1 Ops/sec |
native for-in | 790.7 Ops/sec |