Test name | Executions per second |
---|---|
lodash.each | 6400.0 Ops/sec |
native for-of w/ entries | 3281.8 Ops/sec |
native forEach w/ entries | 4223.8 Ops/sec |
vanilla for-loop w/ Object.keys | 2045.2 Ops/sec |
vanilla for-loop w/ Object.entries | 4337.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 65030.6 Ops/sec |
native forEach w/ Object.values (no keys) | 41540.3 Ops/sec |
native for-in | 1018.3 Ops/sec |