diff options
author | Aleksey Kladov <[email protected]> | 2021-01-10 17:58:02 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-10 17:58:02 +0000 |
commit | a0957723fed54725babeebcf357f27e20a15dab2 (patch) | |
tree | cdf47b9f7c31f1a544272dfbc4cae4cf5f711f82 /crates | |
parent | 035fed5f9f7c062da7d23190dab1a7021fd48a5d (diff) |
Make default memory stats less verbose
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/cli/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
302 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); | 302 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); |
303 | } | 303 | } |
304 | 304 | ||
305 | if self.memory_usage { | 305 | if self.memory_usage && verbosity.is_verbose() { |
306 | print_memory_usage(host, vfs); | 306 | print_memory_usage(host, vfs); |
307 | } | 307 | } |
308 | 308 | ||