Skip to content

Commit 12e2765

Browse files
PEP 683: Update the Perf Regression With the Final Benchmark Results (#3519)
1 parent 6aeaba7 commit 12e2765

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

peps/pep-0683.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,20 +230,17 @@ those described above in `Motivation`_, reflect this improvement.
230230
Performance
231231
-----------
232232

233-
A naive implementation shows `a 4% slowdown`_. We have demonstrated
234-
a return to ~performance-neutral~ with a handful of basic mitigations
235-
applied. See the `mitigations`_ section below.
233+
A naive implementation shows `a 2% slowdown`_ (3% with MSVC).
234+
We have demonstrated a return to ~performance-neutral~ with a handful
235+
of basic mitigations applied. See the `mitigations`_ section below.
236+
237+
.. _a 2% slowdown: https://github.com/python/cpython/pull/19474#issuecomment-1502245844
236238

237239
On the positive side, immortal objects save a significant amount of
238240
memory when used `with a pre-fork model <Facebook>`_. Also, immortal
239241
objects provide opportunities for specialization in the eval loop that
240242
would improve performance.
241243

242-
.. _a 4% slowdown: https://github.com/python/cpython/pull/19474#issuecomment-1032944709
243-
244-
TODO: Update the performance impact for the latest branch
245-
(both for GCC and for clang).
246-
247244
Backward Compatibility
248245
----------------------
249246

0 commit comments

Comments
 (0)