Test name | Executions per second |
---|---|
Using the spread operator | 34382360.0 Ops/sec |
Using Object.assign | 5655712.0 Ops/sec |
Manually copying properties | 126240900.0 Ops/sec |
Create new object while copying | 127014600.0 Ops/sec |
Create new object from scratch | 129917900.0 Ops/sec |