Test name | Executions per second |
---|---|
Lodash cloneDeep | 214394.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 2498896.5 Ops/sec |
Native JSON parse | 208190.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2527219.5 Ops/sec |
Native map(shallow clone) | 4703309.5 Ops/sec |
Recursive deep clone | 161101.5 Ops/sec |
Map deep clone | 179195.6 Ops/sec |
Object.assign shallow clone | 2649945.0 Ops/sec |