Test name | Executions per second |
---|---|
Using the spread operator | 40070160.0 Ops/sec |
Using Object.assign | 4078875.0 Ops/sec |
Manually copying properties | 132259700.0 Ops/sec |
Create new object while copying | 130552700.0 Ops/sec |
Create new object from scratch | 129322000.0 Ops/sec |