@@ -45,8 +45,8 @@ use collector::compile::execute::bencher::BenchProcessor;
45
45
use collector:: compile:: execute:: profiler:: { ProfileProcessor , Profiler } ;
46
46
use collector:: runtime:: {
47
47
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 ,
50
50
} ;
51
51
use collector:: runtime:: { profile_runtime, RuntimeCompilationOpts } ;
52
52
use collector:: toolchain:: {
@@ -105,12 +105,12 @@ struct CompileBenchmarkConfig {
105
105
106
106
struct RuntimeBenchmarkConfig {
107
107
runtime_suite : BenchmarkSuite ,
108
- filter : BenchmarkFilter ,
108
+ filter : RuntimeBenchmarkFilter ,
109
109
iterations : u32 ,
110
110
}
111
111
112
112
impl RuntimeBenchmarkConfig {
113
- fn new ( suite : BenchmarkSuite , filter : BenchmarkFilter , iterations : u32 ) -> Self {
113
+ fn new ( suite : BenchmarkSuite , filter : RuntimeBenchmarkFilter , iterations : u32 ) -> Self {
114
114
Self {
115
115
runtime_suite : suite. filter ( & filter) ,
116
116
filter,
@@ -761,7 +761,7 @@ fn main_result() -> anyhow::Result<i32> {
761
761
} ;
762
762
let config = RuntimeBenchmarkConfig :: new (
763
763
runtime_suite,
764
- BenchmarkFilter :: new ( local. exclude , local. include ) ,
764
+ RuntimeBenchmarkFilter :: new ( local. exclude , local. include ) ,
765
765
iterations,
766
766
) ;
767
767
run_benchmarks ( & mut rt, conn, shared, None , Some ( config) ) ?;
@@ -1042,7 +1042,7 @@ fn main_result() -> anyhow::Result<i32> {
1042
1042
1043
1043
let runtime_config = RuntimeBenchmarkConfig {
1044
1044
runtime_suite,
1045
- filter : BenchmarkFilter :: keep_all ( ) ,
1045
+ filter : RuntimeBenchmarkFilter :: keep_all ( ) ,
1046
1046
iterations : DEFAULT_RUNTIME_ITERATIONS ,
1047
1047
} ;
1048
1048
let shared = SharedBenchmarkConfig {
@@ -1745,7 +1745,7 @@ fn bench_published_artifact(
1745
1745
} ) ,
1746
1746
Some ( RuntimeBenchmarkConfig :: new (
1747
1747
runtime_suite,
1748
- BenchmarkFilter :: keep_all ( ) ,
1748
+ RuntimeBenchmarkFilter :: keep_all ( ) ,
1749
1749
DEFAULT_RUNTIME_ITERATIONS ,
1750
1750
) ) ,
1751
1751
)
0 commit comments