Test name | Executions per second |
---|---|
Using the spread operator | 27384440.0 Ops/sec |
Using Object.assign | 3223568.0 Ops/sec |
Manually copying properties | 763803400.0 Ops/sec |
Create new object while copying | 747769900.0 Ops/sec |
Create new object from scratch | 749314700.0 Ops/sec |