Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Using lodash.clone |
Test name | Executions per second |
---|---|
Using the spread operator | 71989660.0 Ops/sec |
Using Object.assign | 8307345.0 Ops/sec |
Using lodash.clone | 1992661.0 Ops/sec |