Test name | Executions per second |
---|---|
lodash.each | 8243.4 Ops/sec |
native for-of w/ entries | 4471.5 Ops/sec |
native forEach w/ entries | 4656.2 Ops/sec |
vanilla for-loop w/ Object.keys | 2578.2 Ops/sec |
vanilla for-loop w/ Object.entries | 4411.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 82701.8 Ops/sec |
native forEach w/ Object.values (no keys) | 85114.6 Ops/sec |
native for-in | 1289.9 Ops/sec |