Skip to content

Commit

Permalink
Crank up the invalidation threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Oct 24, 2024
1 parent d0d3a27 commit 69e9a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/internal/pycore_optimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69e9a0e

Please sign in to comment.