Test name | Executions per second |
---|---|
lodash.each | 965.6 Ops/sec |
native for-of w/ entries | 384.2 Ops/sec |
native forEach w/ entries | 564.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1034.5 Ops/sec |
vanilla for-loop w/ Object.entries | 390.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 2544.3 Ops/sec |
native forEach w/ Object.values (no keys) | 2478.0 Ops/sec |
native for-in | 306.3 Ops/sec |