From 69e9a0e2da14dda1534066b79420105572b5b0da Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Thu, 24 Oct 2024 16:27:46 -0700 Subject: [PATCH] Crank up the invalidation threshold --- Include/internal/pycore_optimizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/internal/pycore_optimizer.h b/Include/internal/pycore_optimizer.h index f92c0a0cddf906..cb57e4a6836f2c 100644 --- a/Include/internal/pycore_optimizer.h +++ b/Include/internal/pycore_optimizer.h @@ -135,7 +135,7 @@ PyAPI_FUNC(void) _Py_Executors_InvalidateCold(PyInterpreterState *interp); // Used as the threshold to trigger executor invalidation when // trace_run_counter is greater than this value. -#define JIT_CLEANUP_THRESHOLD 100000 +#define JIT_CLEANUP_THRESHOLD 200000 // This is the length of the trace we project initially. #define UOP_MAX_TRACE_LENGTH 800