Test name | Executions per second |
---|---|
lodash.each | 2590.4 Ops/sec |
native for-of w/ entries | 1119.2 Ops/sec |
native forEach w/ entries | 962.9 Ops/sec |
vanilla for-loop w/ Object.keys | 854.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1099.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 47058.5 Ops/sec |
native forEach w/ Object.values (no keys) | 14856.5 Ops/sec |
native for-in | 439.1 Ops/sec |