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) | 1382.6 Ops/sec |
Reduce (reuse object) | 2513.4 Ops/sec |
Reduce (creating temporary objects) | 87.0 Ops/sec |