Test name | Executions per second |
---|---|
Lodash cloneDeep | 188737.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 2389437.2 Ops/sec |
Native JSON parse | 190027.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2434455.2 Ops/sec |
Native map(shallow clone) | 4354451.0 Ops/sec |
Recursive deep clone | 130249.4 Ops/sec |
Map deep clone | 156614.0 Ops/sec |
Object.assign shallow clone | 2706936.0 Ops/sec |