Test name | Executions per second |
---|---|
lodash.each | 5227.4 Ops/sec |
native for-of w/ entries | 2672.1 Ops/sec |
native forEach w/ entries | 2755.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1317.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2680.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 51471.1 Ops/sec |
native forEach w/ Object.values (no keys) | 51280.2 Ops/sec |
native for-in | 705.8 Ops/sec |