Test name | Executions per second |
---|---|
Using the spread operator | 16918800.0 Ops/sec |
Using Object.assign | 1658537.0 Ops/sec |
Manually copying properties | 56912850.0 Ops/sec |
Create new object while copying | 57845060.0 Ops/sec |
Create new object from scratch | 60199430.0 Ops/sec |