Test name | Executions per second |
---|---|
Lodash cloneDeep | 406769.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 5575315.5 Ops/sec |
Native JSON parse | 435138.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5549711.5 Ops/sec |
Native map(shallow clone) | 10761213.0 Ops/sec |
Recursive deep clone | 308972.9 Ops/sec |
Map deep clone | 339408.3 Ops/sec |
Object.assign shallow clone | 5841997.0 Ops/sec |