Test name | Executions per second |
---|---|
Using the spread operator | 25683100.0 Ops/sec |
Using Object.assign | 3675075.0 Ops/sec |
Manually copying properties | 73082930.0 Ops/sec |
Create new object while copying | 71894990.0 Ops/sec |
Create new object from scratch | 74516370.0 Ops/sec |