Test name | Executions per second |
---|---|
Lodash cloneDeep | 142990.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 1806812.6 Ops/sec |
Native JSON parse | 140839.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1712299.5 Ops/sec |
Native map(shallow clone) | 3295211.0 Ops/sec |
Recursive deep clone | 98254.4 Ops/sec |
Map deep clone | 81466.8 Ops/sec |
Object.assign shallow clone | 1652216.2 Ops/sec |