Test name | Executions per second |
---|---|
Lodash cloneDeep | 213941.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 2856064.5 Ops/sec |
Native JSON parse | 222466.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2807284.0 Ops/sec |
Native map(shallow clone) | 5327606.5 Ops/sec |
Recursive deep clone | 176504.5 Ops/sec |
Map deep clone | 191521.6 Ops/sec |
Object.assign shallow clone | 3035057.0 Ops/sec |