Test name | Executions per second |
---|---|
lodash.each | 5921.3 Ops/sec |
native for-of w/ entries | 3169.0 Ops/sec |
native forEach w/ entries | 2986.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1452.2 Ops/sec |
vanilla for-loop w/ Object.entries | 3094.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 79310.1 Ops/sec |
native forEach w/ Object.values (no keys) | 52856.4 Ops/sec |
native for-in | 732.3 Ops/sec |