Test name | Executions per second |
---|---|
lodash.each | 3408.2 Ops/sec |
native for-of w/ entries | 2014.4 Ops/sec |
native forEach w/ entries | 1992.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1071.0 Ops/sec |
vanilla for-loop w/ Object.entries | 1900.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40194.6 Ops/sec |
native forEach w/ Object.values (no keys) | 45925.5 Ops/sec |
native for-in | 584.7 Ops/sec |