Test name | Executions per second |
---|---|
Lodash cloneDeep | 116208.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 1700889.4 Ops/sec |
Native JSON parse | 125749.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1689752.8 Ops/sec |
Native map(shallow clone) | 3212115.0 Ops/sec |
Recursive deep clone | 107717.1 Ops/sec |
Map deep clone | 121988.2 Ops/sec |
Object.assign shallow clone | 1918278.9 Ops/sec |