Test name | Executions per second |
---|---|
lodash.each | 2209.6 Ops/sec |
native for-of w/ entries | 1165.5 Ops/sec |
native forEach w/ entries | 1423.0 Ops/sec |
vanilla for-loop w/ Object.keys | 951.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1273.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 28131.9 Ops/sec |
native forEach w/ Object.values (no keys) | 16147.3 Ops/sec |
native for-in | 431.9 Ops/sec |