Test name | Executions per second |
---|---|
lodash.each | 5990.0 Ops/sec |
native for-of w/ entries | 2648.5 Ops/sec |
native forEach w/ entries | 2442.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1842.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2653.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 91820.8 Ops/sec |
native forEach w/ Object.values (no keys) | 50087.1 Ops/sec |
native for-in | 863.5 Ops/sec |