Test name | Executions per second |
---|---|
Lodash cloneDeep | 53325.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 693875.9 Ops/sec |
Native JSON parse | 53435.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 702960.7 Ops/sec |
Native map(shallow clone) | 1332914.9 Ops/sec |
Recursive deep clone | 45732.8 Ops/sec |
Map deep clone | 50007.6 Ops/sec |
Object.assign shallow clone | 712656.4 Ops/sec |