mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 01:00:31 +00:00
Compact output, add -s color option, closes #70
Strip the empty lines within the results for each benchmark, but keep the empty line between each benchmark, and before the summary. Add `color` style option to show color but not be interactive (no progress bar).
This commit is contained in:
1 parent
4b8f47d6f2
commit
3246ec27e1
5 files changed
+14
-10
No files matched your search
@@ -164,7 +164,6 @@ pub fn run_benchmark(
|
||||
(num + 1).to_string().bold(),
|
||||
cmd
|
||||
);
|
||||
println!();
|
||||
|
||||
let mut times_real: Vec<Second> = vec![];
|
||||
let mut times_user: Vec<Second> = vec![];
|
||||
@@ -293,7 +292,6 @@ pub fn run_benchmark(
|
||||
user_str.blue(),
|
||||
system_str.blue()
|
||||
);
|
||||
println!(" ");
|
||||
|
||||
println!(
|
||||
" Range ({} … {}): {:>8} … {:>8}",
|
||||
|
||||
Reference in new issue
Block a user