mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_bench: fix progress bar min width for request type info
This commit is contained in:
parent
7ba61ee6b7
commit
88feb49c3d
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ pub const NUM_INFO_HASHES: usize = 10_000;
|
|||
|
||||
|
||||
pub fn create_progress_bar(name: &str, iterations: u64) -> ProgressBar {
|
||||
let t = format!("{:<16} {}", name, "{wide_bar} {pos:>2}/{len:>2}");
|
||||
let t = format!("{:<8} {}", name, "{wide_bar} {pos:>2}/{len:>2}");
|
||||
let style = ProgressStyle::default_bar().template(&t);
|
||||
|
||||
ProgressBar::new(iterations).with_style(style)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue