Test name | Executions per second |
---|---|
lodash.each | 2292.4 Ops/sec |
native for-of w/ entries | 689.5 Ops/sec |
native forEach w/ entries | 964.9 Ops/sec |
vanilla for-loop w/ Object.keys | 2146.3 Ops/sec |
vanilla for-loop w/ Object.entries | 706.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 5154.1 Ops/sec |
native forEach w/ Object.values (no keys) | 5003.3 Ops/sec |
native for-in | 590.2 Ops/sec |