Test name | Executions per second |
---|---|
lodash.each | 1823.1 Ops/sec |
native for-of w/ entries | 621.6 Ops/sec |
native forEach w/ entries | 893.1 Ops/sec |
vanilla for-loop w/ Object.keys | 2146.0 Ops/sec |
vanilla for-loop w/ Object.entries | 687.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 5073.6 Ops/sec |
native forEach w/ Object.values (no keys) | 3818.1 Ops/sec |
native for-in | 405.1 Ops/sec |