Test name | Executions per second |
---|---|
lodash.each | 4018.4 Ops/sec |
native for-of w/ entries | 2110.6 Ops/sec |
native forEach w/ entries | 2141.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1479.2 Ops/sec |
vanilla for-loop w/ Object.entries | 2108.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 74694.2 Ops/sec |
native forEach w/ Object.values (no keys) | 56475.6 Ops/sec |
native for-in | 736.1 Ops/sec |