summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorgsallam <123525874+gsallam@users.noreply.github.com>2023-10-27 03:57:29 (GMT)
committerGitHub <noreply@github.com>2023-10-27 03:57:29 (GMT)
commit21f068d80c6cc5de75f9df70fdd733d0ce9c70de (patch)
treedaceefb593efea137dd642df968075b24c6d52f8 /Misc
parent3d2f1f0b830d86f16f42c42b54d3ea4453dac318 (diff)
downloadcpython-21f068d80c6cc5de75f9df70fdd733d0ce9c70de.zip
cpython-21f068d80c6cc5de75f9df70fdd733d0ce9c70de.tar.gz
cpython-21f068d80c6cc5de75f9df70fdd733d0ce9c70de.tar.bz2
gh-109587: Allow "precompiled" perf-trampolines to largely mitigate the cost of enabling perf-trampolines (#109666)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2023-10-02-23-08-53.gh-issue-109587.UqqnDY.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-10-02-23-08-53.gh-issue-109587.UqqnDY.rst b/Misc/NEWS.d/next/C API/2023-10-02-23-08-53.gh-issue-109587.UqqnDY.rst
new file mode 100644
index 0000000..c6fa24f
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-10-02-23-08-53.gh-issue-109587.UqqnDY.rst
@@ -0,0 +1,2 @@
+Introduced :c:func:`PyUnstable_PerfTrampoline_CompileCode`, :c:func:`PyUnstable_PerfTrampoline_SetPersistAfterFork` and
+:c:func:`PyUnstable_CopyPerfMapFile`. These functions allow extension modules to initialize trampolines eagerly, after the application is "warmed up". This makes it possible to have perf-trampolines running in an always-enabled fashion.