File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async fn main() {
26
26
27
27
let mut benchmarks = HashSet :: new ( ) ;
28
28
let benchmark_data: HashMap < String , BenchmarkData > = sqlite_conn
29
- . get_benchmarks ( )
29
+ . get_compile_benchmarks ( )
30
30
. await
31
31
. into_iter ( )
32
32
. map ( |benchmark| ( benchmark. name . clone ( ) , benchmark) )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub trait Connection: Send + Sync {
15
15
async fn transaction ( & mut self ) -> Box < dyn Transaction + ' _ > ;
16
16
17
17
async fn load_index ( & mut self ) -> Index ;
18
- async fn get_benchmarks ( & self ) -> Vec < BenchmarkData > ;
18
+ async fn get_compile_benchmarks ( & self ) -> Vec < BenchmarkData > ;
19
19
20
20
async fn artifact_by_name ( & self , artifact : & str ) -> Option < ArtifactId > ;
21
21
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ where
555
555
. collect ( ) ,
556
556
}
557
557
}
558
- async fn get_benchmarks ( & self ) -> Vec < BenchmarkData > {
558
+ async fn get_compile_benchmarks ( & self ) -> Vec < BenchmarkData > {
559
559
let rows = self
560
560
. conn ( )
561
561
. query ( & self . statements ( ) . get_benchmarks , & [ ] )
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ impl Connection for SqliteConnection {
500
500
}
501
501
}
502
502
503
- async fn get_benchmarks ( & self ) -> Vec < BenchmarkData > {
503
+ async fn get_compile_benchmarks ( & self ) -> Vec < BenchmarkData > {
504
504
let conn = self . raw_ref ( ) ;
505
505
let mut query = conn
506
506
. prepare_cached ( "select name, category from benchmark" )
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ pub async fn handle_compare(
125
125
let prev = comparison. prev ( master_commits) ;
126
126
let next = comparison. next ( master_commits) ;
127
127
let is_contiguous = comparison. is_contiguous ( & * conn, master_commits) . await ;
128
- let benchmark_map = conn. get_benchmarks ( ) . await ;
128
+ let benchmark_map = conn. get_compile_benchmarks ( ) . await ;
129
129
130
130
let comparisons = comparison
131
131
. comparisons
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ impl SiteCtxt {
258
258
}
259
259
260
260
pub async fn get_benchmark_category_map ( & self ) -> HashMap < Benchmark , Category > {
261
- let benchmarks = self . pool . connection ( ) . await . get_benchmarks ( ) . await ;
261
+ let benchmarks = self . pool . connection ( ) . await . get_compile_benchmarks ( ) . await ;
262
262
benchmarks
263
263
. into_iter ( )
264
264
. map ( |bench| {
You can’t perform that action at this time.
0 commit comments