Test name | Executions per second |
---|---|
lodash.each | 5357.0 Ops/sec |
native for-of w/ entries | 3101.9 Ops/sec |
native forEach w/ entries | 3448.9 Ops/sec |
vanilla for-loop w/ Object.keys | 6576.6 Ops/sec |
vanilla for-loop w/ Object.entries | 3362.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 25573.7 Ops/sec |
native forEach w/ Object.values (no keys) | 16912.0 Ops/sec |
native for-in | 1007.2 Ops/sec |