From c515aaca8a3041a45db6f08dfb8cc953acb103ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Sat, 26 Oct 2024 17:24:42 +0200 Subject: [PATCH] Remove event sort --- crates/hyperqueue/src/dashboard/data/data.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/hyperqueue/src/dashboard/data/data.rs b/crates/hyperqueue/src/dashboard/data/data.rs index 849b0e503..28412d1f3 100644 --- a/crates/hyperqueue/src/dashboard/data/data.rs +++ b/crates/hyperqueue/src/dashboard/data/data.rs @@ -37,8 +37,6 @@ impl DashboardData { } pub fn push_new_events(&mut self, mut events: Vec) { - events.sort_unstable_by_key(|e| e.time); - // Update data views self.worker_timeline.handle_new_events(&events); self.job_timeline.handle_new_events(&events);