We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 501c5c4 + 3810213 commit 8ba8456Copy full SHA for 8ba8456
site/src/github.rs
@@ -713,11 +713,13 @@ async fn categorize_benchmark(
713
);
714
write!(result, "\n\n").unwrap();
715
716
- let (primary, secondary) = (
717
- primary.unwrap_or_else(|| ComparisonSummary::empty()),
718
- secondary.unwrap_or_else(|| ComparisonSummary::empty()),
719
- );
720
- write_summary_table(&primary, &secondary, &mut result);
+ if primary_direction.is_some() || secondary_direction.is_some() {
+ let (primary, secondary) = (
+ primary.unwrap_or_else(|| ComparisonSummary::empty()),
+ secondary.unwrap_or_else(|| ComparisonSummary::empty()),
+ );
721
+ write_summary_table(&primary, &secondary, &mut result);
722
+ }
723
724
write!(result, "\n{}", DISAGREEMENT).unwrap();
725
0 commit comments