Test name | Executions per second |
---|---|
Lodash cloneDeep | 183533.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 2381418.2 Ops/sec |
Native JSON parse | 215651.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2390315.2 Ops/sec |
Native map(shallow clone) | 4414928.0 Ops/sec |
Recursive deep clone | 141075.2 Ops/sec |
Map deep clone | 152992.6 Ops/sec |
Object.assign shallow clone | 2522027.2 Ops/sec |