mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Revert "Fix memory usage metrics"
This commit is contained in:
parent
df1f3907af
commit
75543d8ca1
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user