aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cli
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 11:42:23 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 11:42:23 +0100
commit2ad8220f58675193860337a00fed87162a98dc1a (patch)
treee39c335b575481fb40b183c82db25a222076c96b /crates/ra_cli
parentbb70d18a0a51a2321780e8eaa0262ec61a659b05 (diff)
parent18a1e092e9406c6670cd38d17997325bba7bbfdc (diff)
Merge #1462
1462: Move memory usage statistics to ra_prof r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_cli')
-rw-r--r--crates/ra_cli/src/analysis_stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs
index ed98fc7f6..2eaf784a6 100644
--- a/crates/ra_cli/src/analysis_stats.rs
+++ b/crates/ra_cli/src/analysis_stats.rs
@@ -112,6 +112,6 @@ pub fn run(verbose: bool, path: &Path, only: Option<&str>) -> Result<()> {
112 num_exprs_partially_unknown, 112 num_exprs_partially_unknown,
113 (num_exprs_partially_unknown * 100 / num_exprs) 113 (num_exprs_partially_unknown * 100 / num_exprs)
114 ); 114 );
115 println!("Analysis: {:?}", analysis_time.elapsed()); 115 println!("Analysis: {:?}, {}", analysis_time.elapsed(), ra_prof::memory_usage());
116 Ok(()) 116 Ok(())
117} 117}