Test name | Executions per second |
---|---|
Lodash cloneDeep | 229360.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3633175.8 Ops/sec |
Native JSON parse | 210375.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3587903.5 Ops/sec |
Native map(shallow clone) | 6857419.0 Ops/sec |
Recursive deep clone | 208082.1 Ops/sec |
Map deep clone | 224502.7 Ops/sec |
Object.assign shallow clone | 3727099.2 Ops/sec |