Test name | Executions per second |
---|---|
Lodash cloneDeep | 183498.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 3050992.8 Ops/sec |
Native JSON parse | 241702.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2940852.2 Ops/sec |
Native map(shallow clone) | 6062035.5 Ops/sec |
Recursive deep clone | 178386.3 Ops/sec |
Map deep clone | 196964.3 Ops/sec |
Object.assign shallow clone | 3068927.2 Ops/sec |