Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue32355

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Optimize asyncio.gather()
Type:performanceStage:resolved
Components:asyncioVersions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: yselivanovNosy List: asvetlov, yselivanov
Priority:normalKeywords:patch

Created on2017-12-18 02:41 byyselivanov, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
t.pyyselivanov,2017-12-18 02:41
Pull Requests
URLStatusLinkedEdit
PR 4913mergedyselivanov,2017-12-18 02:43
Messages (2)
msg308508 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-12-18 02:41
asyncio.gather can be made faster if:1. we don't use functools.partial2. create less intermittent collections3. drop unnecessary code (e.g. gather has some code that's duplicated in ensure_future that it uses etc)The proposed PR makes asyncio.gather 10-15% faster on the attached benchmark.
msg308632 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-12-19 12:19
New changeset36c2c044782997520df7fc5604742a615ccf6b17 by Yury Selivanov in branch 'master':bpo-32355: Optimize asyncio.gather() (#4913)https://github.com/python/cpython/commit/36c2c044782997520df7fc5604742a615ccf6b17
History
DateUserActionArgs
2022-04-11 14:58:55adminsetgithub: 76536
2017-12-19 12:20:10yselivanovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2017-12-19 12:19:55yselivanovsetmessages: +msg308632
2017-12-18 02:43:10yselivanovsetkeywords: +patch
stage: patch review
pull_requests: +pull_request4807
2017-12-18 02:41:07yselivanovcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp