object.assign vs spread vs without immutable vs create new object with assign| Test case name | Result |
|---|---|
| object.assign | |
| spread | |
| without immutable | |
| create new object with assign |
| Test name | Executions per second |
|---|---|
| ✓ object.assign | 11,508,653 Ops/sec |
| without immutable | 9,553,102 Ops/sec |
| spread | 5,249,312 Ops/sec |
| create new object with assign | 532,890 Ops/sec |