Function calculate_zstd_ratio_stats

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

Calculate ZSTD ratio statistics between two groups in split comparison.

This function calculates the ZSTD compression ratio statistics between group1_metrics and group2_metrics using the results array.

§Arguments

  • results - Slice of analysis results
  • comparison_index - Index of the comparison to analyze

§Returns

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