Test name | Executions per second |
---|---|
lodash.each | 3900.3 Ops/sec |
native for-of w/ entries | 2156.4 Ops/sec |
native forEach w/ entries | 1712.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1148.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1883.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 49589.2 Ops/sec |
native forEach w/ Object.values (no keys) | 24044.9 Ops/sec |
native for-in | 555.5 Ops/sec |