Module

utils.build_summary

Rich build summary dashboard with performance insights.

Displays comprehensive build statistics with:

  • Timing breakdown
  • Performance grade
  • Smart suggestions
  • Cache statistics
  • Resource usage

Functions

create_timing_breakdown_table
Create a detailed timing breakdown table.
1 Table
def create_timing_breakdown_table(stats: BuildStats) -> Table

Create a detailed timing breakdown table.

Parameters 1

Name Type Default Description
stats BuildStats

Build statistics

Returns

Table

Rich Table with phase timing breakdown

create_performance_panel
Create performance grade and insights panel.
2 Panel
def create_performance_panel(stats: BuildStats, advisor: PerformanceAdvisor) -> Panel

Create performance grade and insights panel.

Parameters 2

Name Type Default Description
stats BuildStats

Build statistics

advisor PerformanceAdvisor

Performance advisor with analysis

Returns

Panel

Rich Panel with performance insights

create_suggestions_panel
Create smart suggestions panel.
1 Panel | None
def create_suggestions_panel(advisor: PerformanceAdvisor) -> Panel | None

Create smart suggestions panel.

Parameters 1

Name Type Default Description
advisor PerformanceAdvisor

Performance advisor with analysis

Returns

Panel | None

Rich Panel with suggestions, or None if no suggestions

create_cache_stats_panel
Create cache statistics panel (if available).
1 Panel | None
def create_cache_stats_panel(stats: BuildStats) -> Panel | None

Create cache statistics panel (if available).

Parameters 1

Name Type Default Description
stats BuildStats

Build statistics

Returns

Panel | None

Rich Panel with cache stats, or None if not applicable

create_content_stats_table
Create content statistics table.
1 Table
def create_content_stats_table(stats: BuildStats) -> Table

Create content statistics table.

Parameters 1

Name Type Default Description
stats BuildStats

Build statistics

Returns

Table

Rich Table with content stats

display_build_summary
Display comprehensive build summary with rich formatting. This is the main entry point for Phase 2…
2 None
def display_build_summary(stats: BuildStats, environment: dict[str, Any] | None = None) -> None

Display comprehensive build summary with rich formatting.

This is the main entry point for Phase 2 build summaries. Shows timing breakdown, performance analysis, and smart suggestions.

Parameters 2

Name Type Default Description
stats BuildStats

Build statistics

environment dict[str, Any] | None None

Environment info (from detect_environment())

display_simple_summary
Display simple summary for writer persona (minimal output).
1 None
def display_simple_summary(stats: BuildStats) -> None

Display simple summary for writer persona (minimal output).

Parameters 1

Name Type Default Description
stats BuildStats

Build statistics