chore(profiling): update Python profiling collectors for py3.15 - #18504
Closed
vlad-scherbich wants to merge 1 commit into
Closed
chore(profiling): update Python profiling collectors for py3.15#18504vlad-scherbich wants to merge 1 commit into
vlad-scherbich wants to merge 1 commit into
Conversation
Contributor
|
BenchmarksBenchmark execution time: 2026-06-08 13:21:24 Comparing candidate commit 163c7da in PR branch Found 0 performance improvements and 5 performance regressions! Performance is the same for 613 metrics, 9 unstable metrics. scenario:iastaspects-index_aspect
scenario:iastaspects-stringio_aspect
scenario:iastaspectsospath-ospathbasename_aspect
scenario:span-start
scenario:tracer-small
|
Contributor
|
This pull request has been automatically closed after a period of inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
← Prev: #18503 | Next → #17624
PROF-14200
Description
Updates the Python profiling collectors for CPython 3.15 compatibility.
Collectors (
threading.py,asyncio.py,exception.py,stack.py):(
_exception,_task,threading._lockimports gated on version checks)_GatheringFuture.__init__and_waitwrappers: guardcurrent_task()call againstRuntimeErrorwhen invoked outside a running event loop on 3.15+_asyncio.py(minimal fix here; deep refactor is in #18389):get_running_loop()/current_task()calls that 3.15's implementation can sidestepmonitoring.py,asyncs.py: minor 3.15 compatibility guards.Testing
CI:
profile,profile-memalloc,crashtrackervenvs on py3.15.Risks
Low. All changes are version-gated guards; behavior on older Python is unchanged.
Additional Notes
Part of the Python 3.15 support stack. Relates to #17809.