Build time to be printed in sub second precision
@@ -567,11 +567,8 @@ pub(crate) fn run(config: Config, task: &str, env_info: EnvInfo, cli_args: &CliA
let time_string = match start_time.elapsed() {
Ok(elapsed) => {
- let mut string = "in ".to_string();
- string.push_str(&elapsed.as_secs().to_string());
- string.push_str(" seconds");
-
- string
+ let time_millies = elapsed.as_millis() as f64 / 1000.0;
+ format!(" in {:.2} seconds", time_millies)
}
_ => "".to_string(),
};
