
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-12-18 02:41 byyselivanov, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| t.py | yselivanov,2017-12-18 02:41 | |||
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4913 | merged | yselivanov,2017-12-18 02:43 | |
| Messages (2) | |||
|---|---|---|---|
| msg308508 -(view) | Author: Yury Selivanov (yselivanov)*![]() | 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)*![]() | 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 | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:55 | admin | set | github: 76536 |
| 2017-12-19 12:20:10 | yselivanov | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2017-12-19 12:19:55 | yselivanov | set | messages: +msg308632 |
| 2017-12-18 02:43:10 | yselivanov | set | keywords: +patch stage: patch review pull_requests: +pull_request4807 |
| 2017-12-18 02:41:07 | yselivanov | create | |