Test name | Executions per second |
---|---|
lodash.each | 3609.1 Ops/sec |
native for-of w/ entries | 1357.7 Ops/sec |
native forEach w/ entries | 1245.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1118.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1356.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 56770.0 Ops/sec |
native forEach w/ Object.values (no keys) | 30273.4 Ops/sec |
native for-in | 562.0 Ops/sec |