Test name | Executions per second |
---|---|
Lodash cloneDeep | 225276.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 11413112.0 Ops/sec |
Native JSON parse | 517750.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 11427284.0 Ops/sec |
Native map(shallow clone) | 38254896.0 Ops/sec |
Recursive deep clone | 1030545.6 Ops/sec |
Map deep clone | 1038423.4 Ops/sec |
Object.assign shallow clone | 20178090.0 Ops/sec |