Test name | Executions per second |
---|---|
Using the spread operator | 36957030.0 Ops/sec |
Using Object.assign | 2888464.0 Ops/sec |
Manually copying properties | 761477800.0 Ops/sec |
Create new object while copying | 688027700.0 Ops/sec |
Create new object from scratch | 664758600.0 Ops/sec |