| Test case name | Result |
|---|---|
| Object.fromEntries with spread | |
| for-loop and object (reuse object) | |
| for-loop and object (creating temporary objects) | |
| for-loop and map |
| Test name | Executions per second |
|---|---|
| Object.fromEntries with spread | 154.1 Ops/sec |
| for-loop and object (reuse object) | 7519.6 Ops/sec |
| for-loop and object (creating temporary objects) | 54.1 Ops/sec |
| for-loop and map | 848.7 Ops/sec |