Test name | Executions per second |
---|---|
lodash.each | 5545.5 Ops/sec |
native for-of w/ entries | 2354.0 Ops/sec |
native forEach w/ entries | 2273.8 Ops/sec |
vanilla for-loop w/ Object.keys | 5083.3 Ops/sec |
vanilla for-loop w/ Object.entries | 2360.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 20605.6 Ops/sec |
native forEach w/ Object.values (no keys) | 16909.0 Ops/sec |
native for-in | 936.9 Ops/sec |