Skip to content

Commit

Permalink
Crank the warmup up to 16384
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Nov 12, 2024
1 parent e7d6e1d commit 1723e00
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Include/internal/pycore_backoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,13 @@ backoff_counter_triggers(_Py_BackoffCounter counter)

/* Initial JUMP_BACKWARD counter.
* This determines when we create a trace for a loop.
* Backoff sequence 1024, 2048, 4096. */
#define JUMP_BACKWARD_INITIAL_VALUE 4095
#define JUMP_BACKWARD_INITIAL_BACKOFF 12
* Backoff sequence 16384. */
#define JUMP_BACKWARD_INITIAL_VALUE 16383
#define JUMP_BACKWARD_INITIAL_BACKOFF 14
static inline _Py_BackoffCounter
initial_jump_backoff_counter(void)
{
return make_backoff_counter(JUMP_BACKWARD_INITIAL_VALUE,
JUMP_BACKWARD_INITIAL_BACKOFF);
return forge_backoff_counter(JUMP_BACKWARD_INITIAL_VALUE);
}

/* Initial exit temperature.
Expand Down

0 comments on commit 1723e00

Please sign in to comment.