Test name | Executions per second |
---|---|
lodash.each | 3618.0 Ops/sec |
native for-of w/ entries | 2275.8 Ops/sec |
native forEach w/ entries | 2230.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1113.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2278.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 64527.0 Ops/sec |
native forEach w/ Object.values (no keys) | 35216.3 Ops/sec |
native for-in | 566.9 Ops/sec |