Test name | Executions per second |
---|---|
Using the spread operator | 29068010.0 Ops/sec |
Using Object.assign | 3138276.0 Ops/sec |
Manually copying properties | 756376600.0 Ops/sec |
Create new object while copying | 778921100.0 Ops/sec |
Create new object from scratch | 808614500.0 Ops/sec |