Skip to content
Myr

Improve progress bar 'experience'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent 266105b · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:src/hyperfine/benchmark.rs+2 added-1 removed
256 unmodified lines
257258 all_succeeded = all_succeeded && success;259260 // Re-configure the progress bar261 progress_bar.set_length(count_remaining);261 progress_bar.set_length(count);262 progress_bar.inc(1);263264 // Gather statistics265 for _ in 0..count_remaining {266 run_preparation_command(&options.shell, &prepare_cmd, options.show_output)?;
106 unmodified lines