Test case name | Result |
---|---|
ES 6 Spread, combining objects | |
Object.assign, combining objects | |
ES 6 Spread, cloning objects | |
Object.assign, cloning objects |
Test name | Executions per second |
---|---|
ES 6 Spread, combining objects | 3817331.0 Ops/sec |
Object.assign, combining objects | 6096299.0 Ops/sec |
ES 6 Spread, cloning objects | 6176383.0 Ops/sec |
Object.assign, cloning objects | 5933586.0 Ops/sec |