Test name | Executions per second |
---|---|
lodash.each | 3927.5 Ops/sec |
native for-of w/ entries | 1627.8 Ops/sec |
native forEach w/ entries | 1451.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1378.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1662.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 49540.6 Ops/sec |
native forEach w/ Object.values (no keys) | 25750.0 Ops/sec |
native for-in | 718.7 Ops/sec |