Test name | Executions per second |
---|---|
Lodash cloneDeep | 198984.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 3274893.8 Ops/sec |
Native JSON parse | 276129.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3257604.5 Ops/sec |
Native map(shallow clone) | 6278975.0 Ops/sec |
Recursive deep clone | 198370.9 Ops/sec |
Map deep clone | 211213.9 Ops/sec |
Object.assign shallow clone | 3366451.8 Ops/sec |