Test name | Executions per second |
---|---|
lodash.each | 6462.4 Ops/sec |
native for-of w/ entries | 2174.6 Ops/sec |
native forEach w/ entries | 3306.9 Ops/sec |
vanilla for-loop w/ Object.keys | 7845.1 Ops/sec |
vanilla for-loop w/ Object.entries | 2255.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 28891.2 Ops/sec |
native forEach w/ Object.values (no keys) | 16534.3 Ops/sec |
native for-in | 1201.3 Ops/sec |