Fix typo leading to metrics loss
This commit is contained in:
parent
7fc4ba000e
commit
64752ef5e9
@ -84,7 +84,7 @@ fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()>
|
|||||||
eprintln!("\nMeasuring analysis-stats/{}", name);
|
eprintln!("\nMeasuring analysis-stats/{}", name);
|
||||||
let output = Command::new("./target/release/rust-analyzer")
|
let output = Command::new("./target/release/rust-analyzer")
|
||||||
.args(&["analysis-stats", "--quiet", "--memory-usage", path])
|
.args(&["analysis-stats", "--quiet", "--memory-usage", path])
|
||||||
.stdout(Stdio::inherit())
|
.stderr(Stdio::inherit())
|
||||||
.output()?;
|
.output()?;
|
||||||
let output = String::from_utf8(output.stdout)?;
|
let output = String::from_utf8(output.stdout)?;
|
||||||
for (metric, value, unit) in parse_metrics(&output) {
|
for (metric, value, unit) in parse_metrics(&output) {
|
||||||
|
Loading…
Reference in New Issue
Block a user