Test case name | Result |
---|---|
Object.fromEntries | |
Reduce (object assign) | |
Reduce (creating temporary objects) | |
For in | |
Object.fromEntries with Generator |
Test name | Executions per second |
---|---|
Object.fromEntries | 352.3 Ops/sec |
Reduce (object assign) | 173.5 Ops/sec |
Reduce (creating temporary objects) | 0.2 Ops/sec |
For in | 1207.7 Ops/sec |
Object.fromEntries with Generator | 833.8 Ops/sec |