File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ use database::{
1616} ;
1717use parking_lot:: RwLock ;
1818use std:: sync:: Arc ;
19+ use std:: time:: Instant ;
1920use tokio:: time:: { self , Duration , MissedTickBehavior } ;
2021
2122/// Store the latest master commits or do nothing if all of them are
@@ -459,10 +460,15 @@ async fn perform_queue_tick(ctxt: &SiteCtxt) -> anyhow::Result<()> {
459460 return Ok ( ( ) ) ;
460461 }
461462
463+ let start = Instant :: now ( ) ;
462464 let index = conn
463465 . load_benchmark_request_index ( )
464466 . await
465467 . context ( "Failed to load benchmark request index" ) ?;
468+ log:: info!(
469+ "Loading the benchmark request index took {}s" ,
470+ start. elapsed( ) . as_secs_f64( )
471+ ) ;
466472
467473 // Put the master commits into the `benchmark_requests` queue
468474 if let Err ( error) = create_benchmark_request_master_commits ( ctxt, & * conn, & index) . await {
You can’t perform that action at this time.
0 commit comments