Sleep duration has been shown to associate with cognitive function, but little is known about the short-term effect of sleep duration on the previous night