From 09e90fb023cc136ad2a2fdefc692f6270345544a Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 13 Aug 2025 14:45:34 -0700 Subject: [PATCH] Use trace log level for potentially high-volume vsync duration log (#36147) This is an attempt to fix https://github.com/zed-industries/zed/issues/36125 Release Notes: - N/A --- crates/gpui/src/platform/windows/vsync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui/src/platform/windows/vsync.rs b/crates/gpui/src/platform/windows/vsync.rs index 09dbfd0231..6d09b0960f 100644 --- a/crates/gpui/src/platform/windows/vsync.rs +++ b/crates/gpui/src/platform/windows/vsync.rs @@ -99,7 +99,7 @@ impl VSyncProvider { // operation for the first call after the vsync thread becomes non-idle, // but it shouldn't happen often. if !wait_succeeded || elapsed < VSYNC_INTERVAL_THRESHOLD { - log::warn!("VSyncProvider::wait_for_vsync() took shorter than expected"); + log::trace!("VSyncProvider::wait_for_vsync() took less time than expected"); std::thread::sleep(self.interval); } }