Test name | Executions per second |
---|---|
Using the spread operator | 9366734.0 Ops/sec |
Using Object.assign | 9509962.0 Ops/sec |
Manually copying properties | 178988700.0 Ops/sec |
Create new object while copying | 177234300.0 Ops/sec |
Create new object from scratch | 398706900.0 Ops/sec |