"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/benchmark/mod.rs" between
hyperfine-1.14.0.tar.gz and hyperfine-1.15.0.tar.gz

About: hyperfine is a command-line benchmarking tool.

mod.rs  (hyperfine-1.14.0):mod.rs  (hyperfine-1.15.0)
skipping to change at line 291 skipping to change at line 291
let user_str = format_duration(user_mean, Some(time_unit)); let user_str = format_duration(user_mean, Some(time_unit));
let system_str = format_duration(system_mean, Some(time_unit)); let system_str = format_duration(system_mean, Some(time_unit));
if self.options.output_style != OutputStyleOption::Disabled { if self.options.output_style != OutputStyleOption::Disabled {
if times_real.len() == 1 { if times_real.len() == 1 {
println!( println!(
" Time ({} ≡): {:>8} {:>8} [User: {}, System: { }]", " Time ({} ≡): {:>8} {:>8} [User: {}, System: { }]",
"abs".green().bold(), "abs".green().bold(),
mean_str.green().bold(), mean_str.green().bold(),
" ".to_string(), // alignment " ", // alignment
user_str.blue(), user_str.blue(),
system_str.blue() system_str.blue()
); );
} else { } else {
let stddev_str = format_duration(t_stddev.unwrap(), Some(time_un it)); let stddev_str = format_duration(t_stddev.unwrap(), Some(time_un it));
println!( println!(
" Time ({} ± {}): {:>8} ± {:>8} [User: {}, System: { }]", " Time ({} ± {}): {:>8} ± {:>8} [User: {}, System: { }]",
"mean".green().bold(), "mean".green().bold(),
"σ".green(), "σ".green(),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)