Test name | Executions per second |
---|---|
Using the spread operator | 966535.1 Ops/sec |
Using Object.assign | 944145.6 Ops/sec |
Manually copying properties | 335457600.0 Ops/sec |
Create new object while copying | 792047600.0 Ops/sec |
Create new object from scratch | 790772900.0 Ops/sec |