🔍 Read to Me Diagnostic Dashboard

Real-time narration lifecycle logging. Click "Read to Me" to trigger narration and watch the complete playback journey.

📋 TO VIEW REAL LOGS:

  1. Open browser DevTools: F12 or Cmd+Option+I
  2. Go to Console tab
  3. Click "Read to Me" button below
  4. Watch the console for [🎵 NARRATION LIFECYCLE] messages
  5. Look for the complete flow: button click → TTS → audio play → ended/error → final state
  6. Copy the complete log sequence and paste it for analysis

⏱️ Edge Function Timing Breakdown

🔍 Narration Pipeline Debugger

🎵 Narration Latency Benchmark

Measures TTS response time for 25–2000 word texts. Takes ~3–5 minutes. No production code modified.

What this tests: Measures TTS generation time for different text lengths to determine if latency scales with content.

What it does NOT change: Read to Me behavior, lesson rendering, cache keys, cancellation, or any production code.

Results interpretation: If time-to-first-word scales significantly with word count (>0.2ms/word), early playback could save 5–10s.