Test name | Executions per second |
---|---|
Lodash cloneDeep | 195706.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2474225.0 Ops/sec |
Native JSON parse | 190447.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2241755.5 Ops/sec |
Native map(shallow clone) | 4122433.2 Ops/sec |
Recursive deep clone | 135210.3 Ops/sec |
Map deep clone | 148474.8 Ops/sec |
Object.assign shallow clone | 2185757.2 Ops/sec |