One of the things that I feel is under discussed when it comes to caffeine is the duration. The half life of caffeine is ~6 hours (depending on how/what you ingest it with) and the quarter life is ~12.
This is why most people sleep is harmed while using the drug.