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 @@ -248,6 +248,7 @@ impl Benchmark {
248
248
// to do this in Cargo today. We would also ideally build in the same
249
249
// target directory, but that's also not possible, as Cargo takes a
250
250
// target-directory global lock during compilation.
251
+ let preparation_start = std:: time:: Instant :: now ( ) ;
251
252
std:: thread:: scope :: < _ , anyhow:: Result < ( ) > > ( |s| {
252
253
let server = jobserver:: Client :: new ( num_cpus:: get ( ) ) . context ( "jobserver::new" ) ?;
253
254
let mut threads = Vec :: with_capacity ( profile_dirs. len ( ) ) ;
@@ -273,6 +274,11 @@ impl Benchmark {
273
274
274
275
Ok ( ( ) )
275
276
} ) ?;
277
+ log:: trace!(
278
+ "preparing {} took {} seconds" ,
279
+ self . name,
280
+ preparation_start. elapsed( ) . as_secs( )
281
+ ) ;
276
282
277
283
for ( profile, prep_dir) in profile_dirs {
278
284
eprintln ! ( "Running {}: {:?} + {:?}" , self . name, profile, scenarios) ;
You can’t perform that action at this time.
0 commit comments