Skip to main content

Crate fluxbench_stats

Crate fluxbench_stats 

Source
Expand description

FluxBench Statistical Engine

Provides robust statistical analysis for benchmark results including:

  • Bootstrap resampling with BCa (Bias-Corrected and Accelerated) intervals
  • Outlier detection via IQR method
  • Percentile calculation preserving tail latency signals
  • Distribution characterization
  • A/B comparison with effect size and probability of regression

Structs§

BootstrapConfig
Bootstrap configuration
BootstrapResult
Result of bootstrap analysis
ComparisonConfig
Configuration for comparison
ComparisonResult
Result of comparing two distributions
ConfidenceInterval
Confidence interval bounds
CyclesStatistics
CPU cycles statistics (computed alongside time stats)
OutlierAnalysis
Result of outlier analysis
Percentiles
Standard percentiles to compute
SummaryStatistics
Comprehensive summary statistics

Enums§

BootstrapMethod
Which bootstrap method was used
ComparisonError
Errors from comparison operations
EffectInterpretation
Interpretation of effect size magnitude
OutlierMethod
Method for outlier detection

Constants§

BCA_THRESHOLD
Threshold below which BCa method is used instead of percentile
DEFAULT_BOOTSTRAP_ITERATIONS
Default number of bootstrap iterations
DEFAULT_CONFIDENCE_LEVEL
Default confidence level (95%)

Functions§

compare_distributions
Compare two distributions using bootstrap resampling
compute_bootstrap
Compute bootstrap confidence interval for the mean
compute_cycles_stats
Compute CPU cycles statistics from raw cycle counts
compute_percentile
Compute a single percentile from samples
compute_percentiles
Compute all standard percentiles
compute_summary
Compute summary statistics with proper separation of cleaned vs raw data
detect_outliers
Detect outliers in samples using specified method