Test name | Executions per second |
---|---|
lodash.each | 5996.3 Ops/sec |
native for-of w/ entries | 2156.1 Ops/sec |
native forEach w/ entries | 2034.0 Ops/sec |
vanilla for-loop w/ Object.keys | 1133.5 Ops/sec |
vanilla for-loop w/ Object.entries | 2349.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 68106.3 Ops/sec |
native forEach w/ Object.values (no keys) | 38434.9 Ops/sec |
native for-in | 591.0 Ops/sec |