Problem
Currently, normalize_against uses agg_df["NormalizationValue"] / agg_df["AvgValue"] to compute speedup ratios, which works well for timing metrics. However, for standard normalization of general metrics (memory metrics, instruction metrics, etc.), the correct formula should be agg_df["AvgValue"] / agg_df["NormalizationValue"].
Current Behavior
|
# Normalize the AvgValue by the values of the normalization annotation |
|
agg_df["AvgValue"] = agg_df["NormalizationValue"] / agg_df["AvgValue"] |