Function calculate_custom_zstd_ratio_stats

Source
pub fn calculate_custom_zstd_ratio_stats(
    results: &[AnalysisResults],
    comparison_index: usize,
    group_index: usize,
) -> Option<Stats>
Expand description

Calculate ZSTD ratio statistics between two groups in custom comparison.

This function calculates the ZSTD compression ratio statistics between a specific group in group_metrics and the baseline metrics.

§Arguments

  • results - Slice of analysis results
  • comparison_index - Index of the custom comparison to analyze
  • group_index - Index of the group within group_metrics to compare with baseline

§Returns

Optional Stats struct containing the ratio statistics, or None if there are no results