Test case name | Result |
---|---|
Object.fromEntries (with transform data) | |
Reduce (reuse object) | |
Reduce (creating temporary objects) |
Test name | Executions per second |
---|---|
Object.fromEntries (with transform data) | 494120.9 Ops/sec |
Reduce (reuse object) | 594680.9 Ops/sec |
Reduce (creating temporary objects) | 230514.6 Ops/sec |