Test name | Executions per second |
---|---|
Lodash cloneDeep | 157985.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2614112.2 Ops/sec |
Native JSON parse | 215949.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2646701.0 Ops/sec |
Native map(shallow clone) | 4316411.0 Ops/sec |
Recursive deep clone | 205958.6 Ops/sec |
Map deep clone | 220378.8 Ops/sec |
Object.assign shallow clone | 3305335.0 Ops/sec |