Skip to content

Feature Request: Support dual normalization modes to compute speedup ratios and standard normalization #15

@ConvolutedDog

Description

@ConvolutedDog

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"]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions