Test name | Executions per second |
---|---|
Lodash cloneDeep | 170773.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2225382.0 Ops/sec |
Native JSON parse | 149205.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2276776.8 Ops/sec |
Native map(shallow clone) | 4001874.8 Ops/sec |
Recursive deep clone | 129636.5 Ops/sec |
Map deep clone | 142156.6 Ops/sec |
Object.assign shallow clone | 2291364.2 Ops/sec |