Expand description
Optimization identification tooling for cbtop
Provides systematic performance analysis using the cbtop Library API (HL-007).
§Components
OptimizationSuite: Benchmark suite for baseline collectionBottleneckAnalysis: Identifies operations performing below expectationsRegressionDetector: Automated regression detection for CI/CDOptimizationValidator: Statistical validation of optimizations
§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§
- Analysis
Summary - Summary statistics for the analysis
- Baseline
Entry - Entry in the baseline report
- Baseline
Report - Complete baseline report with all measurements
- Bottleneck
Analysis - Results of bottleneck analysis
- Bottleneck
Entry - Entry describing a performance bottleneck
- CpuCapabilities
- Detected CPU capabilities for theoretical peak calculation
- Optimization
Suite - Comprehensive benchmark suite for optimization identification
- Optimization
Validator - Validate that an optimization achieves required improvement
- Regression
Detector - Automated regression detection for CI/CD integration
- Regression
Entry - Entry describing a performance regression
- Regression
Report - Results of regression detection
- Validation
Result - Results of optimization validation
- Workload
Config - Configuration for a specific workload in the benchmark suite
Enums§
- Bottleneck
Severity - Severity level of a bottleneck