From 75543d8ca19515cbcf0a3090150fafebc41bb249 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 11 Dec 2020 16:50:17 +0100 Subject: [PATCH] Revert "Fix memory usage metrics" --- xtask/src/metrics.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index 624ad3b7e8..e0d1aaf97d 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -81,9 +81,7 @@ impl Metrics { } fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> { eprintln!("\nMeasuring analysis-stats/{}", name); - let output = - cmd!("./target/release/rust-analyzer analysis-stats --quiet --memory-usage {path}") - .read()?; + let output = cmd!("./target/release/rust-analyzer analysis-stats --quiet {path}").read()?; for (metric, value, unit) in parse_metrics(&output) { self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into()); }