python / python/cpython

JIT Planning for 3.15 and 3.16

未關閉
#139,038 1 則留言 27 個 reaction 已指派 5 人 在 GitHub 檢視

@diegorusso 已經在處理了。

開始於 2026年1月12日。

interpreter-core topic-JIT
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

Following a conversation at the CPython Core Dev Sprint, this is an uber issue tracking JIT performance goals and planning for 3.15 and 3.16.

The goal here is to capture our goals and the work that we believe is necessary to enable the JIT (on by default).

3.15 (May 2026)

Goals & "features"

Must Haves

Nice to haves

  • 10% faster (geometric mean)
    • Best case: 100% faster
    • Worst case 1% slower
  • JIT coverage (i.e., how much code is being JIT'ted): 90%
  • Robust documentation
How will we do this?

3.16

Goals & "features"

Must Haves

  • ~ similar debuggability and performance across Tier 1 platforms
  • 2+ maintainers in front-end, middle-end, and back-end
  • ...Anything listed in 3.15 nice to have that was not achieved (e.g. docs, better coverage, faster)
How will we do this?
  • Unboxing (int/float/other types)
  • LLVM 22
Linked PRs
  • gh-142845
  • gh-143479
  • gh-143705
  • gh-146013
  • gh-148018
  • gh-148359
  • gh-148572
  • gh-149210

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。