Skip to content

Commit e68110c

Browse files
Merge #6827
6827: Revert "Fix memory usage metrics" r=jonas-schievink a=jonas-schievink Reverts #6825 It broke metrics entirely. Will debug this later, unless someone else gets to it first. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
2 parents df1f390 + 75543d8 commit e68110c

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)