Test name | Executions per second |
---|---|
lodash.each | 8314.7 Ops/sec |
native for-of w/ entries | 4241.9 Ops/sec |
native forEach w/ entries | 4503.1 Ops/sec |
vanilla for-loop w/ Object.keys | 10352.6 Ops/sec |
vanilla for-loop w/ Object.entries | 4600.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 67464.0 Ops/sec |
native forEach w/ Object.values (no keys) | 26517.6 Ops/sec |
native for-in | 1251.1 Ops/sec |