Test name | Executions per second |
---|---|
Lodash cloneDeep | 165646.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2185777.2 Ops/sec |
Native JSON parse | 151120.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2168830.8 Ops/sec |
Native map(shallow clone) | 4063294.2 Ops/sec |
Recursive deep clone | 134989.2 Ops/sec |
Map deep clone | 145950.2 Ops/sec |
Object.assign shallow clone | 2295726.5 Ops/sec |