Test name | Executions per second |
---|---|
Lodash cloneDeep | 291652.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 3952518.8 Ops/sec |
Native JSON parse | 305230.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4071191.2 Ops/sec |
Native map(shallow clone) | 7679984.5 Ops/sec |
Recursive deep clone | 254978.1 Ops/sec |
Map deep clone | 285038.7 Ops/sec |
Object.assign shallow clone | 4480831.5 Ops/sec |