🔍 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:
- Open browser DevTools:
F12orCmd+Option+I - Go to Console tab
- Click "Read to Me" button below
- Watch the console for
[🎵 NARRATION LIFECYCLE]messages - Look for the complete flow: button click → TTS → audio play → ended/error → final state
- 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.