Test name | Executions per second |
---|---|
lodash.each | 3193.5 Ops/sec |
native for-of w/ entries | 1337.2 Ops/sec |
native forEach w/ entries | 1618.4 Ops/sec |
vanilla for-loop w/ Object.keys | 959.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1638.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 48858.8 Ops/sec |
native forEach w/ Object.values (no keys) | 35470.1 Ops/sec |
native for-in | 492.7 Ops/sec |