Test name | Executions per second |
---|---|
lodash.each | 5966.2 Ops/sec |
native for-of w/ entries | 3402.1 Ops/sec |
native forEach w/ entries | 3304.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1480.9 Ops/sec |
vanilla for-loop w/ Object.entries | 3422.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 50834.9 Ops/sec |
native forEach w/ Object.values (no keys) | 36902.2 Ops/sec |
native for-in | 754.4 Ops/sec |