Test name | Executions per second |
---|---|
Using the spread operator | 2263646.0 Ops/sec |
Using Object.assign | 2392391.0 Ops/sec |
Manually copying properties | 13610290.0 Ops/sec |
Create new object while copying | 145776600.0 Ops/sec |
Create new object from scratch | 151249200.0 Ops/sec |