Test name | Executions per second |
---|---|
Lodash cloneDeep | 317255.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 4192397.2 Ops/sec |
Native JSON parse | 311806.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4189206.8 Ops/sec |
Native map(shallow clone) | 8377858.5 Ops/sec |
Recursive deep clone | 258689.0 Ops/sec |
Map deep clone | 285623.9 Ops/sec |
Object.assign shallow clone | 4643507.0 Ops/sec |