Test name | Executions per second |
---|---|
Lodash cloneDeep | 183381.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2033482.8 Ops/sec |
Native JSON parse | 182592.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2014254.4 Ops/sec |
Native map(shallow clone) | 3820587.0 Ops/sec |
Recursive deep clone | 134883.0 Ops/sec |
Map deep clone | 143056.1 Ops/sec |
Object.assign shallow clone | 2212357.0 Ops/sec |