Test name | Executions per second |
---|---|
Lodash cloneDeep | 164862.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 1633156.8 Ops/sec |
Native JSON parse | 114491.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1651425.0 Ops/sec |
Native map(shallow clone) | 3149347.2 Ops/sec |
Recursive deep clone | 100877.8 Ops/sec |
Map deep clone | 109442.1 Ops/sec |
Object.assign shallow clone | 1681972.9 Ops/sec |