Test name | Executions per second |
---|---|
Lodash cloneDeep | 189436.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 1572345.6 Ops/sec |
Native JSON parse | 104525.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1407768.9 Ops/sec |
Native map(shallow clone) | 3022200.5 Ops/sec |
Recursive deep clone | 94321.4 Ops/sec |
Map deep clone | 81497.8 Ops/sec |
Object.assign shallow clone | 826133.4 Ops/sec |