Test case name | Result |
---|---|
Object.fromEntries | |
Reduce (reuse object) | |
Reduce (creating temporary objects) | |
for of | |
for each |
Test name | Executions per second |
---|---|
Object.fromEntries | 7210.4 Ops/sec |
Reduce (reuse object) | 25063.2 Ops/sec |
Reduce (creating temporary objects) | 0.1 Ops/sec |
for of | 19261.9 Ops/sec |
for each | 19809.8 Ops/sec |