Test name | Executions per second |
---|---|
Lodash cloneDeep | 125584.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 1992684.5 Ops/sec |
Native JSON parse | 185194.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2163119.0 Ops/sec |
Native map(shallow clone) | 5027771.0 Ops/sec |
Recursive deep clone | 158129.4 Ops/sec |
Map deep clone | 193614.2 Ops/sec |
Object.assign shallow clone | 2696597.5 Ops/sec |