Test name | Executions per second |
---|---|
lodash.each | 3461.0 Ops/sec |
native for-of w/ entries | 1275.3 Ops/sec |
native forEach w/ entries | 1149.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1249.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1262.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 38849.3 Ops/sec |
native forEach w/ Object.values (no keys) | 23139.3 Ops/sec |
native for-in | 614.1 Ops/sec |