Test name | Executions per second |
---|---|
Lodash cloneDeep | 489169.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 7031649.5 Ops/sec |
Native JSON parse | 532875.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 7063025.0 Ops/sec |
Native map(shallow clone) | 13622949.0 Ops/sec |
Recursive deep clone | 427962.5 Ops/sec |
Map deep clone | 473453.3 Ops/sec |
Object.assign shallow clone | 7688614.0 Ops/sec |