Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
7240: Make default memory stats less verbose r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <[email protected]>
  • Loading branch information
bors[bot] and matklad authored Jan 10, 2021
2 parents b3ae797 + a095772 commit 3e32e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/cli/analysis_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3e32e39

Please sign in to comment.