Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Using custom merge method (Create a clone object) |
Test name | Executions per second |
---|---|
Using the spread operator | 8640652.0 Ops/sec |
Using Object.assign | 5470456.0 Ops/sec |
Using custom merge method (Create a clone object) | 1495925.0 Ops/sec |