Test name | Executions per second |
---|---|
Lodash cloneDeep | 319395.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 4287231.5 Ops/sec |
Native JSON parse | 316339.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4265588.0 Ops/sec |
Native map(shallow clone) | 8006978.0 Ops/sec |
Recursive deep clone | 268023.5 Ops/sec |
Map deep clone | 296712.9 Ops/sec |
Object.assign shallow clone | 4636618.5 Ops/sec |