mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
GH-126892: Reset warmup counters when JIT compiling code (GH-126893)
This commit is contained in:
parent
addb225f38
commit
48c50ff1a2
6 changed files with 48 additions and 39 deletions
3
Python/executor_cases.c.h
generated
3
Python/executor_cases.c.h
generated
|
@ -5750,6 +5750,9 @@
|
|||
tstate->previous_executor = (PyObject *)current_executor;
|
||||
GOTO_TIER_ONE(target);
|
||||
}
|
||||
else {
|
||||
exit->temperature = initial_temperature_backoff_counter();
|
||||
}
|
||||
}
|
||||
exit->executor = executor;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue