Test name | Executions per second |
---|---|
Lodash cloneDeep | 354109.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3837951.0 Ops/sec |
Native JSON parse | 322652.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3848137.0 Ops/sec |
Native map(shallow clone) | 7648623.0 Ops/sec |
Recursive deep clone | 257686.8 Ops/sec |
Map deep clone | 290916.0 Ops/sec |
Object.assign shallow clone | 4402137.0 Ops/sec |