Test name | Executions per second |
---|---|
Lodash cloneDeep | 191973.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3075960.0 Ops/sec |
Native JSON parse | 255578.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3133245.8 Ops/sec |
Native map(shallow clone) | 5768190.5 Ops/sec |
Recursive deep clone | 178645.0 Ops/sec |
Map deep clone | 180323.2 Ops/sec |
Object.assign shallow clone | 3095474.8 Ops/sec |