Test name | Executions per second |
---|---|
Lodash cloneDeep | 132780.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 1703631.0 Ops/sec |
Native JSON parse | 152346.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1621625.5 Ops/sec |
Native map(shallow clone) | 3601623.0 Ops/sec |
Recursive deep clone | 95235.9 Ops/sec |
Map deep clone | 118410.1 Ops/sec |
Object.assign shallow clone | 1756309.8 Ops/sec |