From 5cb3d527b0b527375dbc30f90836220b9a557b21 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 12:04:01 +0200 Subject: Rename metric --- crates/rust-analyzer/src/cli/analysis_stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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( eprintln!("Total: {}", total_span); report_metric("total time", total_span.time.as_millis() as u64, "ms"); if let Some(instructions) = total_span.instructions { - report_metric("total time", instructions, "#instr"); + report_metric("total instructions", instructions, "#instr"); } if let Some(memory) = total_span.memory { report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); -- cgit v1.2.3