pub struct BenchmarkAnalyzer;Implementations§
Source§impl BenchmarkAnalyzer
impl BenchmarkAnalyzer
Sourcepub fn compare_benchmarks(
baseline: &BenchmarkResults,
current: &BenchmarkResults,
) -> BenchmarkComparison
pub fn compare_benchmarks( baseline: &BenchmarkResults, current: &BenchmarkResults, ) -> BenchmarkComparison
Compare two benchmark results and calculate performance delta
Sourcepub fn load_baseline_benchmarks(
benchmarks_dir: &Path,
) -> Result<HashMap<String, BenchmarkResults>>
pub fn load_baseline_benchmarks( benchmarks_dir: &Path, ) -> Result<HashMap<String, BenchmarkResults>>
Load baseline benchmarks from directory
Sourcepub fn load_current_benchmarks(
results_dir: &Path,
) -> Result<Vec<BenchmarkResults>>
pub fn load_current_benchmarks( results_dir: &Path, ) -> Result<Vec<BenchmarkResults>>
Load current benchmark results from results directory
Sourcepub fn generate_regression_report(
benchmarks_dir: &Path,
) -> Result<RegressionReport>
pub fn generate_regression_report( benchmarks_dir: &Path, ) -> Result<RegressionReport>
Generate regression report comparing baseline vs current benchmarks
Sourcepub fn save_regression_report(
report: &RegressionReport,
output_path: &Path,
) -> Result<()>
pub fn save_regression_report( report: &RegressionReport, output_path: &Path, ) -> Result<()>
Save regression report to file
Sourcepub fn print_regression_summary(report: &RegressionReport)
pub fn print_regression_summary(report: &RegressionReport)
Print regression report summary to console
Auto Trait Implementations§
impl Freeze for BenchmarkAnalyzer
impl RefUnwindSafe for BenchmarkAnalyzer
impl Send for BenchmarkAnalyzer
impl Sync for BenchmarkAnalyzer
impl Unpin for BenchmarkAnalyzer
impl UnwindSafe for BenchmarkAnalyzer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more