Test name | Executions per second |
---|---|
lodash.each | 3403.9 Ops/sec |
native for-of w/ entries | 1809.8 Ops/sec |
native forEach w/ entries | 1753.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1077.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1829.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 44708.6 Ops/sec |
native forEach w/ Object.values (no keys) | 31679.6 Ops/sec |
native for-in | 605.4 Ops/sec |