From 278a83a6d8d689eec6f6182febb6ebe8e335ea51 Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Tue, 28 Jan 2025 09:45:48 +0000 Subject: [PATCH] Increase the size of traces we're willing to compile. --- ykrt/src/mt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykrt/src/mt.rs b/ykrt/src/mt.rs index 5833bc047..934a687cd 100644 --- a/ykrt/src/mt.rs +++ b/ykrt/src/mt.rs @@ -50,7 +50,7 @@ pub type AtomicTraceCompilationErrorThreshold = AtomicU16; /// slower our compiler, the lower this will have to be in order to give the perception of /// reasonable performance. /// FIXME: needs to be configurable. -pub(crate) const DEFAULT_TRACE_TOO_LONG: usize = 5000; +pub(crate) const DEFAULT_TRACE_TOO_LONG: usize = 20000; const DEFAULT_HOT_THRESHOLD: HotThreshold = 50; const DEFAULT_SIDETRACE_THRESHOLD: HotThreshold = 5; /// How often can a [HotLocation] or [Guard] lead to an error in tracing or compilation before we