python / python/cpython

JIT coverage can be improved considerably

Offen
#142,982 5 Kommentare 0 Reaktionen 2 zugewiesene Personen Auf GitHub ansehen

@Fidget-Spinner arbeitet bereits daran.

Seit 29.12.2025.

interpreter-core topic-JIT type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
35.9k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

JIT coverage is still quite variable. For some benchmarks, e.g. richards it is close to 100%.
For others, much lower:

https://github.com/savannahostrowski/pyperf_bench/blob/main/profiling/jit.svg

Note: A fair bit of the time attributed to the interpreter is frame cleanup, so makes the interpreter fractions look larger than they are.

We can increase JIT coverage, by:

  • Treating dynamic exits, like side exits: warming up and compiling a new side trace.
  • Adding possible jit entry points at function entries, as well as backward edges.
Linked PRs
  • gh-143391
  • gh-143977

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.