Test name | Executions per second |
---|---|
Using the spread operator | 47799840.0 Ops/sec |
Using Object.assign | 3681915.0 Ops/sec |
Manually copying properties | 1040379000.0 Ops/sec |
Create new object while copying | 1044471000.0 Ops/sec |
Create new object from scratch | 1045414000.0 Ops/sec |