Test name | Executions per second |
---|---|
lodash.each | 4054.0 Ops/sec |
native for-of w/ entries | 1858.4 Ops/sec |
native forEach w/ entries | 1618.3 Ops/sec |
vanilla for-loop w/ Object.keys | 846.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1859.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 39295.2 Ops/sec |
native forEach w/ Object.values (no keys) | 25469.1 Ops/sec |
native for-in | 428.3 Ops/sec |