Test name | Executions per second |
---|---|
Lodash cloneDeep | 132751.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 1537414.6 Ops/sec |
Native JSON parse | 123225.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1602150.8 Ops/sec |
Native map(shallow clone) | 2915345.2 Ops/sec |
Recursive deep clone | 98107.9 Ops/sec |
Map deep clone | 108042.5 Ops/sec |
Object.assign shallow clone | 1602703.2 Ops/sec |