@@ -45,8 +45,8 @@ use collector::compile::execute::bencher::BenchProcessor;
4545use collector:: compile:: execute:: profiler:: { ProfileProcessor , Profiler } ;
4646use collector:: runtime:: {
4747 bench_runtime, get_runtime_benchmark_groups, prepare_runtime_benchmark_suite,
48- runtime_benchmark_dir, BenchmarkFilter , BenchmarkSuite , BenchmarkSuiteCompilation ,
49- CargoIsolationMode , RuntimeProfiler , DEFAULT_RUNTIME_ITERATIONS ,
48+ runtime_benchmark_dir, BenchmarkSuite , BenchmarkSuiteCompilation , CargoIsolationMode ,
49+ RuntimeBenchmarkFilter , RuntimeProfiler , DEFAULT_RUNTIME_ITERATIONS ,
5050} ;
5151use collector:: runtime:: { profile_runtime, RuntimeCompilationOpts } ;
5252use collector:: toolchain:: {
@@ -105,12 +105,12 @@ struct CompileBenchmarkConfig {
105105
106106struct RuntimeBenchmarkConfig {
107107 runtime_suite : BenchmarkSuite ,
108- filter : BenchmarkFilter ,
108+ filter : RuntimeBenchmarkFilter ,
109109 iterations : u32 ,
110110}
111111
112112impl RuntimeBenchmarkConfig {
113- fn new ( suite : BenchmarkSuite , filter : BenchmarkFilter , iterations : u32 ) -> Self {
113+ fn new ( suite : BenchmarkSuite , filter : RuntimeBenchmarkFilter , iterations : u32 ) -> Self {
114114 Self {
115115 runtime_suite : suite. filter ( & filter) ,
116116 filter,
@@ -761,7 +761,7 @@ fn main_result() -> anyhow::Result<i32> {
761761 } ;
762762 let config = RuntimeBenchmarkConfig :: new (
763763 runtime_suite,
764- BenchmarkFilter :: new ( local. exclude , local. include ) ,
764+ RuntimeBenchmarkFilter :: new ( local. exclude , local. include ) ,
765765 iterations,
766766 ) ;
767767 run_benchmarks ( & mut rt, conn, shared, None , Some ( config) ) ?;
@@ -1042,7 +1042,7 @@ fn main_result() -> anyhow::Result<i32> {
10421042
10431043 let runtime_config = RuntimeBenchmarkConfig {
10441044 runtime_suite,
1045- filter : BenchmarkFilter :: keep_all ( ) ,
1045+ filter : RuntimeBenchmarkFilter :: keep_all ( ) ,
10461046 iterations : DEFAULT_RUNTIME_ITERATIONS ,
10471047 } ;
10481048 let shared = SharedBenchmarkConfig {
@@ -1745,7 +1745,7 @@ fn bench_published_artifact(
17451745 } ) ,
17461746 Some ( RuntimeBenchmarkConfig :: new (
17471747 runtime_suite,
1748- BenchmarkFilter :: keep_all ( ) ,
1748+ RuntimeBenchmarkFilter :: keep_all ( ) ,
17491749 DEFAULT_RUNTIME_ITERATIONS ,
17501750 ) ) ,
17511751 )
0 commit comments