Test name | Executions per second |
---|---|
Lodash cloneDeep | 455940.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 6963158.0 Ops/sec |
Native JSON parse | 501190.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6951983.0 Ops/sec |
Native map(shallow clone) | 13157965.0 Ops/sec |
Recursive deep clone | 460114.3 Ops/sec |
Map deep clone | 500999.1 Ops/sec |
Object.assign shallow clone | 4914355.5 Ops/sec |