Test name | Executions per second |
---|---|
Using the spread operator | 48211290.0 Ops/sec |
Using Object.assign | 7932053.0 Ops/sec |
Manually copying properties | 177652300.0 Ops/sec |
Create new object while copying | 185140200.0 Ops/sec |
Create new object from scratch | 172553400.0 Ops/sec |