Test name | Executions per second |
---|---|
Lodash cloneDeep | 334877.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 4496268.0 Ops/sec |
Native JSON parse | 334417.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4566656.0 Ops/sec |
Native map(shallow clone) | 8537892.0 Ops/sec |
Recursive deep clone | 290486.0 Ops/sec |
Map deep clone | 321052.6 Ops/sec |
Object.assign shallow clone | 4975629.0 Ops/sec |