Test name | Executions per second |
---|---|
lodash.each | 1139.4 Ops/sec |
native for-of w/ entries | 407.8 Ops/sec |
native forEach w/ entries | 421.4 Ops/sec |
vanilla for-loop w/ Object.keys | 350.2 Ops/sec |
vanilla for-loop w/ Object.entries | 475.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 17800.4 Ops/sec |
native forEach w/ Object.values (no keys) | 8083.6 Ops/sec |
native for-in | 185.9 Ops/sec |