Well,
if you're looking at the real economy to obtain an edge against the stock market, a recession with inflation doesn't point to a nice picture; however, a recession length is statistically in the 9-16 months range depending on the recession's definition you prefer.
So, even in the case of...