Test name | Executions per second |
---|---|
Lodash cloneDeep | 210750.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 3131602.5 Ops/sec |
Native JSON parse | 225410.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3150092.2 Ops/sec |
Native map(shallow clone) | 5971176.0 Ops/sec |
Recursive deep clone | 194687.0 Ops/sec |
Map deep clone | 215656.8 Ops/sec |
Object.assign shallow clone | 3047906.2 Ops/sec |