Test name | Executions per second |
---|---|
Using the spread operator | 45533970.0 Ops/sec |
Using Object.assign | 7313360.0 Ops/sec |
Manually copying properties | 175976800.0 Ops/sec |
Create new object while copying | 172804900.0 Ops/sec |
Create new object from scratch | 168754800.0 Ops/sec |