File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,8 @@ pub struct ComparisonSummary {
156
156
impl ComparisonSummary {
157
157
pub fn summarize_comparison ( comparison : & Comparison ) -> Option < ComparisonSummary > {
158
158
let mut comparisons = comparison
159
- . get_individual_comparisons ( )
159
+ . statistics
160
+ . iter ( )
160
161
. filter ( |c| c. is_significant ( ) )
161
162
. cloned ( )
162
163
. collect :: < Vec < _ > > ( ) ;
@@ -567,10 +568,6 @@ impl Comparison {
567
568
pub fn next ( & self , master_commits : & [ collector:: MasterCommit ] ) -> Option < String > {
568
569
next_commit ( & self . b . artifact , master_commits) . map ( |c| c. sha . clone ( ) )
569
570
}
570
-
571
- fn get_individual_comparisons ( & self ) -> impl Iterator < Item = & TestResultComparison > {
572
- self . statistics . iter ( ) . filter ( |b| b. profile != Profile :: Doc )
573
- }
574
571
}
575
572
576
573
/// A description of the amount of variance a certain benchmark is historically
You can’t perform that action at this time.
0 commit comments