Test name | Executions per second |
---|---|
Lodash cloneDeep | 191849.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 2739438.0 Ops/sec |
Native JSON parse | 224017.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2770000.2 Ops/sec |
Native map(shallow clone) | 5219647.5 Ops/sec |
Recursive deep clone | 173397.8 Ops/sec |
Map deep clone | 186604.9 Ops/sec |
Object.assign shallow clone | 2952007.5 Ops/sec |