From a0957723fed54725babeebcf357f27e20a15dab2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 10 Jan 2021 20:58:02 +0300 Subject: Make default memory stats less verbose --- crates/rust-analyzer/src/cli/analysis_stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/cli/analysis_stats.rs b/crates/rust-analyzer/src/cli/analysis_stats.rs index 9445aec07..30811bbbf 100644 --- a/crates/rust-analyzer/src/cli/analysis_stats.rs +++ b/crates/rust-analyzer/src/cli/analysis_stats.rs @@ -302,7 +302,7 @@ impl AnalysisStatsCmd { report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); } - if self.memory_usage { + if self.memory_usage && verbosity.is_verbose() { print_memory_usage(host, vfs); } -- cgit v1.2.3