Skip to content

Commit 7b111cc

Browse files
Clarify perf lower bound for FT/GIL
1 parent aca1158 commit 7b111cc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

peps/pep-0836.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ At a high level, these are our milestones and goals for the JIT over the next
7979
JIT stencils, without requiring long-term dependence on one exact LLVM
8080
version [#community-perspectives]_.
8181

82-
* **No lower than 5% uplift on the JIT versus the interpreter on the mean of
83-
our supported platforms after implementing the above changes.** In other
82+
* **No lower than 4% uplift on the JIT + free-threading versus
83+
the free-threading interpreter on the mean of our supported platforms
84+
after implementing the above changes.** Additionally, no lower than 5%
85+
uplift on the JIT + GIL build versus the GIL interpreter. In other
8486
words, we will not significantly regress base performance improvements
8587
while in pursuit of longer-term goals. We will also not discourage other
8688
contributors from contributing performance improvements during this stage.
@@ -89,7 +91,7 @@ At a high level, these are our milestones and goals for the JIT over the next
8991
* **Year 2 (ending with Python 3.17's first beta) - Improved performance**
9092

9193
* **Achieve at least 20% performance geometric mean improvement on
92-
pyperformance for JIT + free-threading compared to free-threading
94+
pyperformance for JIT + free-threading compared to the free-threading
9395
interpreter alone.** This is the minimum target for keeping the JIT in
9496
CPython main, with free-threading treated as the primary performance focus.
9597

0 commit comments

Comments
 (0)