Test name | Executions per second |
---|---|
lodash.each | 4103.5 Ops/sec |
native for-of w/ entries | 1709.1 Ops/sec |
native forEach w/ entries | 1605.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1438.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1724.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 62415.3 Ops/sec |
native forEach w/ Object.values (no keys) | 29937.1 Ops/sec |
native for-in | 724.8 Ops/sec |