Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
MergeObjects function |
Test name | Executions per second |
---|---|
Using the spread operator | 7531427.0 Ops/sec |
Using Object.assign | 7256352.0 Ops/sec |
MergeObjects function | 24928910.0 Ops/sec |