Test name | Executions per second |
---|---|
Lodash cloneDeep | 412115.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 5538933.5 Ops/sec |
Native JSON parse | 410237.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5497154.0 Ops/sec |
Native map(shallow clone) | 10744904.0 Ops/sec |
Recursive deep clone | 305329.4 Ops/sec |
Map deep clone | 352254.4 Ops/sec |
Object.assign shallow clone | 5906163.5 Ops/sec |