Using the spread operator vs Using Object.assign vs Using Object.assign (known change) vs Using the spread operator (known change)| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Using Object.assign (known change) | |
| Using the spread operator (known change) |
| Test name | Executions per second |
|---|---|
| ✓ Using Object.assign (known change) | 7,690 Ops/sec |
| Using the spread operator (known change) | 7,257 Ops/sec |
| Using Object.assign | 3,514 Ops/sec |
| Using the spread operator | 2,243 Ops/sec |