Test name | Executions per second |
---|---|
lodash.each | 9104.8 Ops/sec |
native for-of w/ entries | 4943.2 Ops/sec |
native forEach w/ entries | 5115.0 Ops/sec |
vanilla for-loop w/ Object.keys | 2852.5 Ops/sec |
vanilla for-loop w/ Object.entries | 4870.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 62564.1 Ops/sec |
native forEach w/ Object.values (no keys) | 61402.3 Ops/sec |
native for-in | 1422.0 Ops/sec |