Test name | Executions per second |
---|---|
Using the spread operator | 782026.5 Ops/sec |
Using Object.assign | 691740.7 Ops/sec |
Manually copying properties | 124061800.0 Ops/sec |
Create new object while copying | 823868100.0 Ops/sec |
Create new object from scratch | 814492300.0 Ops/sec |