Test name | Executions per second |
---|---|
lodash.each | 4354.7 Ops/sec |
native for-of w/ entries | 2285.4 Ops/sec |
native forEach w/ entries | 2347.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1235.4 Ops/sec |
vanilla for-loop w/ Object.entries | 2056.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40060.4 Ops/sec |
native forEach w/ Object.values (no keys) | 37255.5 Ops/sec |
native for-in | 527.6 Ops/sec |