Test name | Executions per second |
---|---|
Lodash cloneDeep | 160734.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2063148.1 Ops/sec |
Native JSON parse | 188673.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2327412.5 Ops/sec |
Native map(shallow clone) | 4571166.0 Ops/sec |
Recursive deep clone | 138234.1 Ops/sec |
Map deep clone | 150414.1 Ops/sec |
Object.assign shallow clone | 2568108.5 Ops/sec |