-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-122881: Reduce asyncio heapq scheduling overhead #122882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
564394e
Reduce asyncio heapq scheduling overhead
bdraco 3b46d71
📜🤖 Added by blurb_it.
blurb-it[bot] f01857d
Update Lib/asyncio/base_events.py
bdraco a866d33
Update Misc/NEWS.d/next/Library/2024-08-10-13-10-45.gh-issue-122881.z…
bdraco 0205d0b
Update Misc/NEWS.d/next/Library/2024-08-10-13-10-45.gh-issue-122881.z…
bdraco fdda416
tweaks from review comments
bdraco 88a04d4
Merge remote-tracking branch 'bdraco/speed_up_async_schedule' into sp…
bdraco 345c939
Merge branch 'main' into speed_up_async_schedule
bdraco 4b9aed8
tweak from suggestion
bdraco 6753682
Merge branch 'main' into speed_up_async_schedule
bdraco ca5cc25
TimerHandle scheduling can be quantified, _run_once imporvement will …
bdraco a5b6647
access self more often
bdraco 5ccc55f
Merge branch 'main' into speed_up_async_schedule
bdraco f78838c
Update Lib/asyncio/base_events.py
bdraco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2024-08-10-13-10-45.gh-issue-122881.z_n6W-.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Reduced :mod:`asyncio` :mod:`heapq` scheduling overhead. Scheduling and running an :class:`asyncio.TimerHandle` is now roughly 9.5% faster. |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.