Object.fromEntries vs for...of vs for (C style) vs forEach| Test case name | Result |
|---|---|
| Object.fromEntries | |
| for...of | |
| for (C style) | |
| forEach |
| Test name | Executions per second |
|---|---|
| ✓ forEach | 887 Ops/sec |
| for...of | 886 Ops/sec |
| for (C style) | 865 Ops/sec |
| Object.fromEntries | 755 Ops/sec |