In the study Joe walked through, cutting sleep from about 8 hours to 5 for seven nights dropped daytime testosterone by roughly 10–15%, and energy dropped with it. Both how long you sleep and how broken the night is make a difference.
Treat your sleep window like a protected training block.