Skip to content

Commit a6eb310

Browse files
Merge pull request #1011 from jyn514/dont-ignore-rustdoc
Don't ignore rustdoc when generating comparison summaries
2 parents 5c8e64a + fa692c8 commit a6eb310

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

site/src/comparison.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ pub struct ComparisonSummary {
156156
impl ComparisonSummary {
157157
pub fn summarize_comparison(comparison: &Comparison) -> Option<ComparisonSummary> {
158158
let mut comparisons = comparison
159-
.get_individual_comparisons()
159+
.statistics
160+
.iter()
160161
.filter(|c| c.is_significant())
161162
.cloned()
162163
.collect::<Vec<_>>();
@@ -567,10 +568,6 @@ impl Comparison {
567568
pub fn next(&self, master_commits: &[collector::MasterCommit]) -> Option<String> {
568569
next_commit(&self.b.artifact, master_commits).map(|c| c.sha.clone())
569570
}
570-
571-
fn get_individual_comparisons(&self) -> impl Iterator<Item = &TestResultComparison> {
572-
self.statistics.iter().filter(|b| b.profile != Profile::Doc)
573-
}
574571
}
575572

576573
/// A description of the amount of variance a certain benchmark is historically

0 commit comments

Comments
 (0)