This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Use fastpath in asyncio.sleep if delay<0
Type: performance Stage: resolved
Components: asyncio, Library (Lib) Versions: Python 3.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov
Priority: normal Keywords: patch

Created on 2017-12-17 12:22 by asvetlov, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4908 merged asvetlov, 2017-12-17 12:25
Messages (2)
msg308487 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2017-12-17 12:22
Currently asyncio.sleep schedules a callback execution by `loop.call_later()` call, which has the same behavior but 2x slower.
msg308489 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2017-12-17 14:41
New changeset 5382c05021026fe623def829d121f5f6af4909fb by Andrew Svetlov in branch 'master':
bpo-32351: Use fastpath in asyncio.sleep if delay<0 (#4908)
Date User Action Args
2022-04-11 14:58:55adminsetgithub: 76532
2017-12-17 14:42:09asvetlovsetstatus: open -> closed
type: performance
resolution: fixed
stage: patch review -> resolved
2017-12-17 14:41:33asvetlovsetmessages: + msg308489
2017-12-17 12:25:17asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request4802
2017-12-17 12:22:02asvetlovcreate