Test name | Executions per second |
---|---|
lodash.each | 3209.6 Ops/sec |
native for-of w/ entries | 1693.1 Ops/sec |
native forEach w/ entries | 2119.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1238.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1874.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 61152.8 Ops/sec |
native forEach w/ Object.values (no keys) | 33867.8 Ops/sec |
native for-in | 572.5 Ops/sec |