Test name | Executions per second |
---|---|
Lodash cloneDeep | 219709.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 2389352.0 Ops/sec |
Native JSON parse | 244085.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2402538.5 Ops/sec |
Native map(shallow clone) | 4641887.5 Ops/sec |
Recursive deep clone | 153301.4 Ops/sec |
Map deep clone | 169811.4 Ops/sec |
Object.assign shallow clone | 2661304.0 Ops/sec |