From e9add141893317bc755607b9e2691aebf564c147 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Tue, 18 Feb 2025 19:26:41 +0100 Subject: [PATCH] Reorder steps --- crates/milli/src/progress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/milli/src/progress.rs b/crates/milli/src/progress.rs index d6fc65888..f8cd4b4cc 100644 --- a/crates/milli/src/progress.rs +++ b/crates/milli/src/progress.rs @@ -85,7 +85,7 @@ fn push_steps_durations( now: Instant, idx: usize, ) { - for (i, (_, _, started_at)) in steps.iter().skip(idx).enumerate() { + for (i, (_, _, started_at)) in steps.iter().skip(idx).enumerate().rev() { let full_name = steps.iter().take(idx + i + 1).map(|(_, s, _)| s.name()).join(" > "); durations.push((full_name, now.duration_since(*started_at))); }