Test name | Executions per second |
---|---|
Using the spread operator | 32954980.0 Ops/sec |
Using Object.assign | 4429022.0 Ops/sec |
Manually copying properties | 588396000.0 Ops/sec |
Create new object while copying | 590209300.0 Ops/sec |
Create new object from scratch | 629422100.0 Ops/sec |