Test name | Executions per second |
---|---|
lodash.each | 2143.1 Ops/sec |
native for-of w/ entries | 739.8 Ops/sec |
native forEach w/ entries | 832.2 Ops/sec |
vanilla for-loop w/ Object.keys | 897.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1018.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 30652.4 Ops/sec |
native forEach w/ Object.values (no keys) | 17103.2 Ops/sec |
native for-in | 452.8 Ops/sec |