Test name | Executions per second |
---|---|
Reduce / Spread | 343.1 Ops/sec |
Map Object.entries / Object.fromEntries | 4919.0 Ops/sec |
Object.assign - single spread, no mutation | 15033.9 Ops/sec |
Object.assign - single spread, mutate first | 24551.4 Ops/sec |
Simple fromEntries | 13556.4 Ops/sec |