Test name | Executions per second |
---|---|
lodash.each | 4400.4 Ops/sec |
native for-of w/ entries | 1783.3 Ops/sec |
native forEach w/ entries | 1609.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1065.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1779.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 39083.2 Ops/sec |
native forEach w/ Object.values (no keys) | 25501.2 Ops/sec |
native for-in | 518.5 Ops/sec |