Test name | Executions per second |
---|---|
Lodash cloneDeep | 488021.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 6475879.5 Ops/sec |
Native JSON parse | 762042.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6197208.5 Ops/sec |
Native map(shallow clone) | 10492022.0 Ops/sec |
Recursive deep clone | 388696.9 Ops/sec |
Map deep clone | 436870.0 Ops/sec |
Object.assign shallow clone | 6790910.0 Ops/sec |