Using the spread operator vs Using Object.assign vs Using mutation| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Using mutation |
| Test name | Executions per second |
|---|---|
| ✓ Using mutation | 242,396,544 Ops/sec |
| Using the spread operator | 6,395,856 Ops/sec |
| Using Object.assign | 1,746,734 Ops/sec |