Test name | Executions per second |
---|---|
Lodash cloneDeep | 371225.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 5237762.0 Ops/sec |
Native JSON parse | 266514.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5254900.5 Ops/sec |
Native map(shallow clone) | 10088789.0 Ops/sec |
Recursive deep clone | 317770.8 Ops/sec |
Map deep clone | 323462.7 Ops/sec |
Object.assign shallow clone | 4450259.5 Ops/sec |