Skip to content

Commit

Permalink
pythonGH-126795: Increase the JIT threshold from 16 to 4096 (pythonGH…
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher authored Nov 18, 2024
1 parent 933f21c commit 4cd1076
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 101 deletions.
7 changes: 3 additions & 4 deletions Include/internal/pycore_backoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ backoff_counter_triggers(_Py_BackoffCounter counter)
}

/* Initial JUMP_BACKWARD counter.
* This determines when we create a trace for a loop.
* Backoff sequence 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. */
#define JUMP_BACKWARD_INITIAL_VALUE 15
#define JUMP_BACKWARD_INITIAL_BACKOFF 4
* This determines when we create a trace for a loop. */
#define JUMP_BACKWARD_INITIAL_VALUE 4095
#define JUMP_BACKWARD_INITIAL_BACKOFF 12
static inline _Py_BackoffCounter
initial_jump_backoff_counter(void)
{
Expand Down
Loading

0 comments on commit 4cd1076

Please sign in to comment.