Test name | Executions per second |
---|---|
lodash.each | 3302.2 Ops/sec |
native for-of w/ entries | 1449.7 Ops/sec |
native forEach w/ entries | 1283.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1259.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1438.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 51204.5 Ops/sec |
native forEach w/ Object.values (no keys) | 25294.5 Ops/sec |
native for-in | 619.5 Ops/sec |