Test name | Executions per second |
---|---|
Using the spread operator | 46491030.0 Ops/sec |
Using Object.assign | 7495779.0 Ops/sec |
Manually copying properties | 172964200.0 Ops/sec |
Create new object while copying | 175817500.0 Ops/sec |
Create new object from scratch | 161117200.0 Ops/sec |