From fe9417c98c6ab752c1e51318dcabc7cc6cc8dbeb Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 7 Feb 2025 01:39:23 +0100 Subject: [PATCH] prev was still slow, what if additionally I inline; if it's still slow, it's the futures::Either --- pageserver/src/metrics.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pageserver/src/metrics.rs b/pageserver/src/metrics.rs index cf7b9d59b0..af33a4f341 100644 --- a/pageserver/src/metrics.rs +++ b/pageserver/src/metrics.rs @@ -1313,6 +1313,7 @@ impl Drop for SmgrOpTimer { } impl SmgrOpFlushInProgress { + #[inline(always)] pub(crate) async fn measure(mut self, mut fut: Fut) -> O where Fut: std::future::Future,