Test name | Executions per second |
---|---|
lodash.each | 4182.6 Ops/sec |
native for-of w/ entries | 1944.2 Ops/sec |
native forEach w/ entries | 2079.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1215.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1935.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 34701.3 Ops/sec |
native forEach w/ Object.values (no keys) | 37931.7 Ops/sec |
native for-in | 624.4 Ops/sec |