Test name | Executions per second |
---|---|
Lodash cloneDeep | 303178.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 4493747.0 Ops/sec |
Native JSON parse | 375830.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4476709.5 Ops/sec |
Native map(shallow clone) | 7491897.5 Ops/sec |
Recursive deep clone | 367065.3 Ops/sec |
Map deep clone | 392511.8 Ops/sec |
Object.assign shallow clone | 5725152.0 Ops/sec |