-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BaselineEvaluator: refactor to unify baseline evaluators
Now that MeasurementResults export a `metrics` property, Baseline evaluation can be refactored and unified to work with almost any MeasurementResult in a much simpler manner. This commit does just that, additionally there are two additional related changes: * MetricComparison class is extended to contain more information so that we can unify it and remove the use of a "comparison dictionary" * BaselineEvaluationResult class is added to store all of the grouped MetricComparisons and to generate a nice description for them. This does change the Result description format as it was previously more customized to the individual MeasurementResults, but this IMO actually is more accurate although maybe a little less nice to look at. Finally this gives us a bunch more power to actually machine post process the baseline evaluations so I've also removed the "good direction -> improvement warning" override which IMO should be done as a post processing step and not directly as a part of the evaluation method. The unification of the BaselineEvaluator means that we can completely remove: * BaselineFlowAverageEvaluator * BaselineRDMABandwidthAverageEvaluator * BaselineTcRunAverageEvaluator We need to keep the BaselineCPUAverageEvaluator as this does still override some methods wrt. how filtering and result grouping works for CPU Measurements. Signed-off-by: Ondrej Lichtner <[email protected]>
- Loading branch information
Showing
6 changed files
with
116 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.