Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Not merging | |
For in |
Test name | Executions per second |
---|---|
Using the spread operator | 16263700.0 Ops/sec |
Using Object.assign | 4923829.0 Ops/sec |
Not merging | 3813501.0 Ops/sec |
For in | 13873410.0 Ops/sec |