Test name | Executions per second |
---|---|
lodash.each | 1346.6 Ops/sec |
native for-of w/ entries | 884.3 Ops/sec |
native forEach w/ entries | 737.4 Ops/sec |
vanilla for-loop w/ Object.keys | 628.9 Ops/sec |
vanilla for-loop w/ Object.entries | 885.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 34312.9 Ops/sec |
native forEach w/ Object.values (no keys) | 5428.5 Ops/sec |
native for-in | 302.4 Ops/sec |