Test name | Executions per second |
---|---|
Using the spread operator | 9483368.0 Ops/sec |
Using Object.assign | 1060156.0 Ops/sec |
Manually copying properties | 240064400.0 Ops/sec |
Create new object while copying | 250958600.0 Ops/sec |
Create new object from scratch | 425889400.0 Ops/sec |