Test name | Executions per second |
---|---|
Lodash cloneDeep | 233898.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 3344637.8 Ops/sec |
Native JSON parse | 237876.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3473151.2 Ops/sec |
Native map(shallow clone) | 6443418.0 Ops/sec |
Recursive deep clone | 195174.8 Ops/sec |
Map deep clone | 209520.5 Ops/sec |
Object.assign shallow clone | 3604967.8 Ops/sec |