Test name | Executions per second |
---|---|
Lodash cloneDeep | 244621.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 3319817.5 Ops/sec |
Native JSON parse | 249998.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3324395.5 Ops/sec |
Native map(shallow clone) | 5052763.0 Ops/sec |
Recursive deep clone | 174593.5 Ops/sec |
Map deep clone | 193513.4 Ops/sec |
Object.assign shallow clone | 2872137.2 Ops/sec |