Using the spread operator vs Using Object.assign vs Manual copy| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Manual copy |
| Test name | Executions per second |
|---|---|
| ✓ Manual copy | 35,895,824 Ops/sec |
| Using Object.assign | 7,667,370 Ops/sec |
| Using the spread operator | 6,245,951 Ops/sec |