Skip to main content

prompted_analysis

Function prompted_analysis 

Source
pub fn prompted_analysis(
    file_path_str: &str,
    profile_type: ProfileType,
    analysis_type: AnalysisType,
)
Expand description

Run prompted analysis for profiling visualization

This function provides an interactive prompt to the user asking if they want to generate and view a profiling visualization. It handles the async execution of the interactive prompt and error handling.

ยงArguments

  • demo_name - Name of the demo being profiled
  • profile_type - Type of profiling (Time or Memory)
  • analysis_type - Type of analysis visualization to generate