Test name | Executions per second |
---|---|
Lodash cloneDeep | 330913.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 5062679.0 Ops/sec |
Native JSON parse | 368315.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5054057.5 Ops/sec |
Native map(shallow clone) | 9946126.0 Ops/sec |
Recursive deep clone | 300528.4 Ops/sec |
Map deep clone | 331710.9 Ops/sec |
Object.assign shallow clone | 3504008.0 Ops/sec |