Test name | Executions per second |
---|---|
Lodash cloneDeep | 206233.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 2920394.0 Ops/sec |
Native JSON parse | 225015.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2983372.5 Ops/sec |
Native map(shallow clone) | 5594226.5 Ops/sec |
Recursive deep clone | 174174.9 Ops/sec |
Map deep clone | 192531.1 Ops/sec |
Object.assign shallow clone | 3051970.8 Ops/sec |