For example, one study found that test subjects who consumed caffeine 6 hours before sleep experienced a less restful night without even knowing it. (erikavolkfitness.com)
A study compared regular caffeine consumers to those who did not consume caffeine on a frequent basis. (verywell.com)