Test name | Executions per second |
---|---|
lodash.each | 3214.2 Ops/sec |
native for-of w/ entries | 2050.3 Ops/sec |
native forEach w/ entries | 2172.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1131.7 Ops/sec |
vanilla for-loop w/ Object.entries | 2040.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 41166.4 Ops/sec |
native forEach w/ Object.values (no keys) | 46276.1 Ops/sec |
native for-in | 497.0 Ops/sec |