Test name | Executions per second |
---|---|
lodash.each | 6437.7 Ops/sec |
native for-of w/ entries | 2290.8 Ops/sec |
native forEach w/ entries | 2618.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1854.7 Ops/sec |
vanilla for-loop w/ Object.entries | 2754.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 75473.5 Ops/sec |
native forEach w/ Object.values (no keys) | 50393.5 Ops/sec |
native for-in | 869.7 Ops/sec |