Skip to content

Commit 75543d8

Browse files
Revert "Fix memory usage metrics"
1 parent df1f390 commit 75543d8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xtask/src/metrics.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ impl Metrics {
8181
}
8282
fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> {
8383
eprintln!("\nMeasuring analysis-stats/{}", name);
84-
let output =
85-
cmd!("./target/release/rust-analyzer analysis-stats --quiet --memory-usage {path}")
86-
.read()?;
84+
let output = cmd!("./target/release/rust-analyzer analysis-stats --quiet {path}").read()?;
8785
for (metric, value, unit) in parse_metrics(&output) {
8886
self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into());
8987
}

0 commit comments

Comments
 (0)