Test name | Executions per second |
---|---|
Lodash cloneDeep | 145732.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1993732.2 Ops/sec |
Native JSON parse | 177467.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2006400.4 Ops/sec |
Native map(shallow clone) | 3932656.0 Ops/sec |
Recursive deep clone | 123134.7 Ops/sec |
Map deep clone | 132305.3 Ops/sec |
Object.assign shallow clone | 2174152.2 Ops/sec |