Test name | Executions per second |
---|---|
Using the spread operator | 38209340.0 Ops/sec |
Using Object.assign | 4232965.0 Ops/sec |
Manually copying properties | 856653400.0 Ops/sec |
Create new object while copying | 855947600.0 Ops/sec |
Create new object from scratch | 854213100.0 Ops/sec |