Test name | Executions per second |
---|---|
Lodash cloneDeep | 198512.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2634875.5 Ops/sec |
Native JSON parse | 243704.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2619903.0 Ops/sec |
Native map(shallow clone) | 5162209.0 Ops/sec |
Recursive deep clone | 155758.8 Ops/sec |
Map deep clone | 165978.7 Ops/sec |
Object.assign shallow clone | 2778084.5 Ops/sec |