Skip to content

Commit 105ab92

Browse files
Remove unused finisher
1 parent 2a965e2 commit 105ab92

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

collector/src/execute.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,6 @@ pub trait Processor {
396396
fn finished_first_collection(&mut self) -> bool {
397397
false
398398
}
399-
400-
/// Called when all the runs of a benchmark for a particular `BuildKind`
401-
/// and iteration have been completed. Can be used to process/reset accumulated state.
402-
fn finish_build_kind(&mut self, _build_kind: BuildKind) {}
403399
}
404400

405401
pub struct MeasureProcessor<'a> {
@@ -567,10 +563,6 @@ impl<'a> Processor for MeasureProcessor<'a> {
567563
}
568564
}
569565
}
570-
571-
fn finish_build_kind(&mut self, _: BuildKind) {
572-
// do nothing
573-
}
574566
}
575567

576568
pub struct ProfileProcessor<'a> {
@@ -1010,8 +1002,6 @@ impl Benchmark {
10101002
.run_rustc()?;
10111003
}
10121004
}
1013-
1014-
processor.finish_build_kind(build_kind);
10151005
}
10161006
}
10171007

0 commit comments

Comments
 (0)