Test case name | Result |
---|---|
Lodash clone | |
Lodash cloneDeep | |
Lodash merge | |
Lodash assign | |
ES6 spread | |
ES6 Object assign |
Test name | Executions per second |
---|---|
Lodash clone | 2253558.0 Ops/sec |
Lodash cloneDeep | 555951.3 Ops/sec |
Lodash merge | 271382.2 Ops/sec |
Lodash assign | 2255432.0 Ops/sec |
ES6 spread | 10530280.0 Ops/sec |
ES6 Object assign | 3017452.0 Ops/sec |