Test name | Executions per second |
---|---|
Lodash cloneDeep | 168009.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2775631.0 Ops/sec |
Native JSON parse | 181708.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2658924.8 Ops/sec |
Native map(shallow clone) | 5307519.5 Ops/sec |
Recursive deep clone | 152619.5 Ops/sec |
Map deep clone | 173238.5 Ops/sec |
Object.assign shallow clone | 2875235.2 Ops/sec |