Test name | Executions per second |
---|---|
lodash.each | 3296.9 Ops/sec |
native for-of w/ entries | 1243.4 Ops/sec |
native forEach w/ entries | 1127.9 Ops/sec |
vanilla for-loop w/ Object.keys | 999.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1246.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 63367.8 Ops/sec |
native forEach w/ Object.values (no keys) | 29072.7 Ops/sec |
native for-in | 508.9 Ops/sec |