Test name | Executions per second |
---|---|
lodash.each | 5897.8 Ops/sec |
native for-of w/ entries | 2742.7 Ops/sec |
native forEach w/ entries | 3528.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1879.7 Ops/sec |
vanilla for-loop w/ Object.entries | 3545.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 53853.3 Ops/sec |
native forEach w/ Object.values (no keys) | 43284.6 Ops/sec |
native for-in | 954.9 Ops/sec |