Test name | Executions per second |
---|---|
lodash.each | 7210.1 Ops/sec |
native for-of w/ entries | 4477.9 Ops/sec |
native forEach w/ entries | 4604.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2225.8 Ops/sec |
vanilla for-loop w/ Object.entries | 4499.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 71153.3 Ops/sec |
native forEach w/ Object.values (no keys) | 63394.3 Ops/sec |
native for-in | 1147.0 Ops/sec |