Test name | Executions per second |
---|---|
Lodash cloneDeep | 232769.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3225595.2 Ops/sec |
Native JSON parse | 264622.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3220462.5 Ops/sec |
Native map(shallow clone) | 6381689.5 Ops/sec |
Recursive deep clone | 145565.2 Ops/sec |
Map deep clone | 91231.0 Ops/sec |
Object.assign shallow clone | 3072350.8 Ops/sec |