Test name | Executions per second |
---|---|
lodash.each | 4234.6 Ops/sec |
native for-of w/ entries | 1627.7 Ops/sec |
native forEach w/ entries | 1533.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1432.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1637.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 57176.4 Ops/sec |
native forEach w/ Object.values (no keys) | 29576.1 Ops/sec |
native for-in | 688.1 Ops/sec |