Skip to content

Commit

Permalink
Increase the size of traces we're willing to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltratt committed Feb 3, 2025
1 parent ea0502c commit 278a83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ykrt/src/mt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 278a83a

Please sign in to comment.