Test name | Executions per second |
---|---|
Lodash cloneDeep | 193034.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2094146.4 Ops/sec |
Native JSON parse | 167852.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2080960.6 Ops/sec |
Native map(shallow clone) | 3852951.0 Ops/sec |
Recursive deep clone | 137245.2 Ops/sec |
Map deep clone | 148607.3 Ops/sec |
Object.assign shallow clone | 2264904.8 Ops/sec |