Test name | Executions per second |
---|---|
Lodash cloneDeep | 108530.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 10276536.0 Ops/sec |
Native JSON parse | 185497.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 10223538.0 Ops/sec |
Native map(shallow clone) | 37065448.0 Ops/sec |
Recursive deep clone | 518587.9 Ops/sec |
Map deep clone | 368265.4 Ops/sec |
Object.assign shallow clone | 12558749.0 Ops/sec |