Test name | Executions per second |
---|---|
lodash.each | 3689.9 Ops/sec |
native for-of w/ entries | 1664.1 Ops/sec |
native forEach w/ entries | 1423.8 Ops/sec |
vanilla for-loop w/ Object.keys | 1345.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1710.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 55364.2 Ops/sec |
native forEach w/ Object.values (no keys) | 24747.3 Ops/sec |
native for-in | 676.8 Ops/sec |