Test name | Executions per second |
---|---|
Using the spread operator | 48744650.0 Ops/sec |
Using Object.assign | 3804506.0 Ops/sec |
Manually copying properties | 1196739000.0 Ops/sec |
Create new object while copying | 1229020000.0 Ops/sec |
Create new object from scratch | 1243484000.0 Ops/sec |