Test name | Executions per second |
---|---|
lodash.each | 2993.3 Ops/sec |
native for-of w/ entries | 1377.6 Ops/sec |
native forEach w/ entries | 1205.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1101.5 Ops/sec |
vanilla for-loop w/ Object.entries | 1380.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 41131.2 Ops/sec |
native forEach w/ Object.values (no keys) | 23061.9 Ops/sec |
native for-in | 555.8 Ops/sec |