But after eating an unhealthy diet, during a deep sleep stage of rest, the amount of slow-wave activity in the men’s brains was reduced. Slow-wave brain activity is one measure of how restorative sleep is, and insulin sensitivity and the secretion of growth hormones have been linked to slow-wave sleep.