Test name | Executions per second |
---|---|
lodash.each | 4153.0 Ops/sec |
native for-of w/ entries | 1783.3 Ops/sec |
native forEach w/ entries | 1501.3 Ops/sec |
vanilla for-loop w/ Object.keys | 1116.9 Ops/sec |
vanilla for-loop w/ Object.entries | 1722.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 34687.2 Ops/sec |
native forEach w/ Object.values (no keys) | 22264.1 Ops/sec |
native for-in | 549.6 Ops/sec |