Problem
There's no visibility into how long documentation generation takes. Users can't tell if a generation is slow or fast, and there's no way to compare generation times across providers/models or projects.
Desired Behavior
- Track the total time for each documentation generation (from start to completion)
- Store the generation duration in the database alongside the project variant
- Display the generation time in the dashboard UI for each variant card
- Show the time in a human-readable format (e.g., "2m 34s", "45s")
Implementation Notes
- Add a
generation_duration column to the projects table (integer, seconds)
- Record start time when generation begins in
_generate_from_path() or _run_generation()
- Calculate and store duration when generation completes (status="ready")
- Display in the dashboard variant card alongside existing metadata (page count, last generated, commit SHA)
- Consider also showing generation time on the status/progress page while generating (elapsed time)
Deliverables
Problem
There's no visibility into how long documentation generation takes. Users can't tell if a generation is slow or fast, and there's no way to compare generation times across providers/models or projects.
Desired Behavior
Implementation Notes
generation_durationcolumn to theprojectstable (integer, seconds)_generate_from_path()or_run_generation()Deliverables
generation_durationadded to projects table