| Test case name | Result |
|---|---|
| Object.fromEntries with Array.map | |
| new Map with Array.map | |
| Reduce (reusing object) | |
| Reduce (creating temporary objects) |
| Test name | Executions per second |
|---|---|
| Object.fromEntries with Array.map | 3651.4 Ops/sec |
| new Map with Array.map | 1373.0 Ops/sec |
| Reduce (reusing object) | 7057.3 Ops/sec |
| Reduce (creating temporary objects) | 0.3 Ops/sec |