Using the spread operator vs Using Object.assign vs Not merging vs Update| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Not merging | |
| Update |
| Test name | Executions per second |
|---|---|
| ✓ Update | 149,456,256 Ops/sec |
| Using the spread operator | 29,259,702 Ops/sec |
| Using Object.assign | 10,907,239 Ops/sec |
| Not merging | 6,434,502 Ops/sec |