diff options
-rw-r--r-- | crates/rust-analyzer/src/cli/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cli/analysis_stats.rs b/crates/rust-analyzer/src/cli/analysis_stats.rs index 73ec3204b..187a0ebe6 100644 --- a/crates/rust-analyzer/src/cli/analysis_stats.rs +++ b/crates/rust-analyzer/src/cli/analysis_stats.rs | |||
@@ -295,7 +295,7 @@ pub fn analysis_stats( | |||
295 | eprintln!("Total: {}", total_span); | 295 | eprintln!("Total: {}", total_span); |
296 | report_metric("total time", total_span.time.as_millis() as u64, "ms"); | 296 | report_metric("total time", total_span.time.as_millis() as u64, "ms"); |
297 | if let Some(instructions) = total_span.instructions { | 297 | if let Some(instructions) = total_span.instructions { |
298 | report_metric("total time", instructions, "#instr"); | 298 | report_metric("total instructions", instructions, "#instr"); |
299 | } | 299 | } |
300 | if let Some(memory) = total_span.memory { | 300 | if let Some(memory) = total_span.memory { |
301 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); | 301 | report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); |