Test name | Executions per second |
---|---|
Lodash cloneDeep | 211079.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2720488.8 Ops/sec |
Native JSON parse | 234190.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2692343.2 Ops/sec |
Native map(shallow clone) | 5012294.5 Ops/sec |
Recursive deep clone | 170948.2 Ops/sec |
Map deep clone | 184115.9 Ops/sec |
Object.assign shallow clone | 2890491.0 Ops/sec |