Test name | Executions per second |
---|---|
lodash.each | 3428.7 Ops/sec |
native for-of w/ entries | 1698.2 Ops/sec |
native forEach w/ entries | 1569.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1320.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1728.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 53012.8 Ops/sec |
native forEach w/ Object.values (no keys) | 21813.7 Ops/sec |
native for-in | 604.6 Ops/sec |