Test name | Executions per second |
---|---|
lodash.each | 5169.9 Ops/sec |
native for-of w/ entries | 2087.8 Ops/sec |
native forEach w/ entries | 2077.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1470.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2225.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 65084.8 Ops/sec |
native forEach w/ Object.values (no keys) | 35934.2 Ops/sec |
native for-in | 754.8 Ops/sec |