Test name | Executions per second |
---|---|
Lodash cloneDeep | 142845.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2237344.8 Ops/sec |
Native JSON parse | 180363.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2227310.8 Ops/sec |
Native map(shallow clone) | 3661603.0 Ops/sec |
Recursive deep clone | 116090.6 Ops/sec |
Map deep clone | 130769.5 Ops/sec |
Object.assign shallow clone | 1916865.8 Ops/sec |