From f63be060027cf25ce1c64bd02dab2931fc1ceafe Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 21 May 2019 16:24:53 +0300 Subject: profile type inference --- crates/ra_prof/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_prof/src/lib.rs') diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index e56446c9f..61f2226d7 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs @@ -198,6 +198,7 @@ fn print(lvl: usize, msgs: &[Message], out: &mut impl Write) { if l != lvl { continue; } + writeln!(out, "{} {:6}ms - {}", indent, dur.as_millis(), msg) .expect("printing profiling info to stdout"); -- cgit v1.2.3