Skip to content

Commit b776483

Browse files
committed
Fix recomputation of incremental doc builds
1 parent 02928e1 commit b776483

File tree

1 file changed

+5
-0
lines changed
  • collector/src/compile/benchmark

1 file changed

+5
-0
lines changed

collector/src/compile/benchmark/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,11 @@ impl Benchmark {
523523
target: &Target,
524524
already_computed: &hashbrown::HashSet<CompileTestCase>,
525525
) -> bool {
526+
// Keep this in sync with the logic in `Benchmark::measure`.
527+
if scenario.is_incr() && profile.is_doc() {
528+
return false;
529+
}
530+
526531
let benchmark = database::Benchmark::from(self.name.0.as_str());
527532
let profile = match profile {
528533
Profile::Check => database::Profile::Check,

0 commit comments

Comments
 (0)