@@ -6,7 +6,7 @@ use core::option::Option;
6
6
use core:: option:: Option :: Some ;
7
7
use core:: result:: Result :: Ok ;
8
8
use std:: collections:: HashMap ;
9
- use std:: io:: { BufReader , Write } ;
9
+ use std:: io:: BufReader ;
10
10
use std:: path:: { Path , PathBuf } ;
11
11
use std:: process:: { Child , Command , Stdio } ;
12
12
use tempfile:: TempDir ;
@@ -114,14 +114,11 @@ pub fn create_runtime_benchmark_suite(
114
114
115
115
let mut groups = Vec :: new ( ) ;
116
116
for ( index, benchmark_crate) in benchmark_crates. into_iter ( ) . enumerate ( ) {
117
- // Show incremental progress
118
- print ! (
119
- "\r {}\r Compiling `{}` ({}/{group_count})" ,
120
- " " . repeat( 80 ) ,
121
- benchmark_crate. name,
117
+ println ! (
118
+ "Compiling {:<22} ({}/{group_count})" ,
119
+ format!( "`{}`" , benchmark_crate. name) ,
122
120
index + 1
123
121
) ;
124
- std:: io:: stdout ( ) . flush ( ) . unwrap ( ) ;
125
122
126
123
let target_dir = temp_dir. as_ref ( ) . map ( |d| d. path ( ) ) ;
127
124
@@ -135,7 +132,6 @@ pub fn create_runtime_benchmark_suite(
135
132
} ) ?;
136
133
groups. push ( group) ;
137
134
}
138
- println ! ( ) ;
139
135
140
136
groups. sort_unstable_by ( |a, b| a. binary . cmp ( & b. binary ) ) ;
141
137
log:: debug!( "Found binaries: {:?}" , groups) ;
0 commit comments