When I posed a similar question to the brewmaster at my local craft brewery, he stated at the home brewer level, there was more risk of infection transferring to a secondary than any perceived benefit. Since then, I’ve routinely kept my IPAs in the primary for 2-3 weeks and my dark beers at least 4 weeks. This includes a 41 point award winning porter. So, I think he gave some good advice. I will add one caveat. I use conical fermentors so the surface area of the trub is significantly less than a carboy, which could yield different results.