Skip to main content

Module optimize

Module optimize 

Source
Expand description

Optimization identification tooling for cbtop

Provides systematic performance analysis using the cbtop Library API (HL-007).

§Components

§Example

use cbtop::optimize::{OptimizationSuite, BottleneckAnalysis};

// Collect baseline
let suite = OptimizationSuite::standard();
let baseline = suite.collect_baseline().unwrap();

// Analyze bottlenecks
let analysis = suite.analyze_bottlenecks(&baseline);
for bottleneck in &analysis.severe {
    println!("{}: {} - {}", bottleneck.workload, bottleneck.efficiency, bottleneck.recommendation);
}

Structs§

AnalysisSummary
Summary statistics for the analysis
BaselineEntry
Entry in the baseline report
BaselineReport
Complete baseline report with all measurements
BottleneckAnalysis
Results of bottleneck analysis
BottleneckEntry
Entry describing a performance bottleneck
CpuCapabilities
Detected CPU capabilities for theoretical peak calculation
OptimizationSuite
Comprehensive benchmark suite for optimization identification
OptimizationValidator
Validate that an optimization achieves required improvement
RegressionDetector
Automated regression detection for CI/CD integration
RegressionEntry
Entry describing a performance regression
RegressionReport
Results of regression detection
ValidationResult
Results of optimization validation
WorkloadConfig
Configuration for a specific workload in the benchmark suite

Enums§

BottleneckSeverity
Severity level of a bottleneck