Skip to content

Commit 7c67ca6

Browse files
committed
Remove print of filtered runtime benchmark count
It wasn't really useful for anything, and the count wasn't precise after the previous commit.
1 parent 192bfb9 commit 7c67ca6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

collector/src/runtime/benchmark.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ impl BenchmarkSuite {
6363
}
6464
}
6565

66-
pub fn total_benchmark_count(&self) -> u64 {
67-
self.benchmark_names().count() as u64
68-
}
69-
7066
pub fn filtered_benchmark_count(&self, filter: &BenchmarkFilter) -> u64 {
7167
self.benchmark_names()
7268
.filter(|benchmark| {

collector/src/runtime/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,8 @@ pub async fn bench_runtime(
3030
filter: BenchmarkFilter,
3131
iterations: u32,
3232
) -> anyhow::Result<()> {
33-
let total_benchmark_count = suite.total_benchmark_count();
3433
let filtered = suite.filtered_benchmark_count(&filter);
35-
println!(
36-
"Executing {} benchmarks ({} filtered out)\n",
37-
filtered,
38-
total_benchmark_count - filtered
39-
);
34+
println!("Executing {} benchmarks\n", filtered);
4035

4136
let rustc_perf_version = get_rustc_perf_commit();
4237
let mut benchmark_index = 0;

0 commit comments

Comments
 (0)