Test name | Executions per second |
---|---|
Lodash cloneDeep | 158926.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 2315154.5 Ops/sec |
Native JSON parse | 207091.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2378579.8 Ops/sec |
Native map(shallow clone) | 4673070.0 Ops/sec |
Recursive deep clone | 134056.6 Ops/sec |
Map deep clone | 143589.1 Ops/sec |
Object.assign shallow clone | 2498246.5 Ops/sec |