Skip to content

Instantly share code, notes, and snippets.

@vitorcalvi
Created March 25, 2026 11:24
Show Gist options
  • Select an option

  • Save vitorcalvi/1d80330ee17f6e4013fbe10d96b00f1d to your computer and use it in GitHub Desktop.

Select an option

Save vitorcalvi/1d80330ee17f6e4013fbe10d96b00f1d to your computer and use it in GitHub Desktop.
Maximum Cognitive Performance Hour-by-Hour Protocol

Maximum Cognitive Performance Daily Protocol — Hour-by-Hour Table

Time Relative to Wake Phase Actions Biological Mechanism Evidence Strength
Wake (0:00) CAR onset Wake naturally or with gentle light alarm. Expose eyes to bright light within 30 min if possible. Light → ipRGC → SCN suppresses melatonin; triggers cortisol awakening response (CAR) via HPA axis. Light exposure can increase CAR magnitude (Petrowski 2019). Moderate (observational + light RCTs)
0:15–1:00 CAR peak window First caffeine dose (if using). Do NOT check phone/social media. Intense deep work (most demanding cognitive tasks). Cortisol peaks ~30–45 min post-awakening (Pruessner 1997). Caffeine antagonizes adenosine receptors; peak plasma 30–120 min. Cognitive performance improves as sleep inertia dissipates (~15–60 min). High for caffeine timing; Moderate for CAR→cognition link
1:00–3:00 Cognitive peak 1 Continue deep work. Hydrate with water + electrolytes if sweaty. Breakfast (largest meal of day, high protein, moderate carbs) Glucose tolerance highest in morning (Leung meta-analysis SMD −1.66 day vs night). Muscle protein synthesis rate elevated post-awakening; distribute ~0.3 g/kg protein/meal. High for glucose tolerance timing; Moderate for protein distribution
3:00–5:00 Post-lunch dip Light lunch (smaller than breakfast). Avoid heavy carbs to prevent postprandial sleepiness. Caffeine (2nd dose if needed) 30 min before tasks. Circadian dip in alertness (~2–4 h after wake). Heavy meals divert blood to gut, increase postprandial glucose/insulin, can cause reactive hypoglycemia in susceptible individuals. Moderate for circadian dip; Limited for meal→performance causality
5:00–7:00 Cognitive peak 2 Exercise (strength training best here; HIIT acceptable). Endurance can be later. Pre-workout carbs 1–2 h before if session intense. Core body temperature peaks late afternoon (~16:00–18:00), enhancing muscle power, VO2max, neuromuscular coordination. Exercise can improve later sleep quality. Moderate (meta-analysis shows mixed best-time effects; some evidence for afternoon strength gains)
7:00–9:00 Evening transition Dinner (lightest meal, low GI, high fiber). Stop caffeine if not already (cutoff ~8–10 h before bed). Glucose tolerance worst in biological evening; late carbs worsen postprandial glucose by ~17% (Morris 2015). Melatonin secretion begins ~2–3 h before typical bedtime; caffeine may interfere with sleep architecture. High for glucose timing; High for caffeine cutoff
9:00–11:00 Wind-down Stop work. Dim/red light. Optional: warm bath 1–2 h before bed (40–42.5°C). Bedroom cool (17–19°C). Melatonin supplement if needed (0.5–4 mg, 3 h before bed). Core temperature drop facilitates sleep onset; distal vasodilation from warm bath enhances cooling. Blue light suppresses melatonin; dim red light minimally affects ipRGCs. Melatonin phase-shifts circadian system. High for light/temp; Moderate for melatonin timing
11:00–7:00 Sleep window Target 7–9 h total. Keep room dark and cool. No alcohol within 4 h of bed. Sleep stages: N3 front-loaded (first half), REM back-loaded (second half). Alcohol suppresses REM early, causes rebound later; fragments sleep. High for alcohol effects; High for sleep duration importance

Quick Reference: Top 5 Levers (24h Implementation)

  1. Consistent wake time (±1 h) — stabilizes circadian phase
  2. 7–9 h sleep — protects cognitive performance; ≤6 h causes cumulative deficits
  3. Morning bright light — phase-advances, boosts CAR
  4. Caffeine cutoff ≥8 h before bed — preserves sleep quality
  5. Evening dim/red light — supports melatonin onset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment