mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 01:21:25 +00:00
Improve progress bar 'experience'
This commit is contained in:
1 parent
266105b52c
commit
51fe31e7d2
1 file changed
+2
-1
@@ -258,7 +258,8 @@ pub fn run_benchmark(
|
|||||||
all_succeeded = all_succeeded && success;
|
all_succeeded = all_succeeded && success;
|
||||||
|
|
||||||
// Re-configure the progress bar
|
// Re-configure the progress bar
|
||||||
progress_bar.set_length(count_remaining);
|
progress_bar.set_length(count);
|
||||||
|
progress_bar.inc(1);
|
||||||
|
|
||||||
// Gather statistics
|
// Gather statistics
|
||||||
for _ in 0..count_remaining {
|
for _ in 0..count_remaining {
|
||||||
|
|||||||
Reference in new issue
Block a user