Test name | Executions per second |
---|---|
Using the spread operator | 43666170.0 Ops/sec |
Using Object.assign | 7570571.0 Ops/sec |
Manually copying properties | 167285800.0 Ops/sec |
Create new object while copying | 169773400.0 Ops/sec |
Create new object from scratch | 159977800.0 Ops/sec |