Test name | Executions per second |
---|---|
Lodash cloneDeep | 166061.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 1841729.2 Ops/sec |
Native JSON parse | 152420.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1864466.9 Ops/sec |
Native map(shallow clone) | 3336331.2 Ops/sec |
Recursive deep clone | 128980.1 Ops/sec |
Map deep clone | 141047.9 Ops/sec |
Object.assign shallow clone | 1978275.8 Ops/sec |