Title: Optimize asyncio.ensure_future by reordering if conditions · Issue #77686 · python/cpython · GitHub
Open Graph Title: Optimize asyncio.ensure_future by reordering if conditions · Issue #77686 · python/cpython
X Title: Optimize asyncio.ensure_future by reordering if conditions · Issue #77686 · python/cpython
Description: BPO 33505 Nosy @asvetlov, @1st1, @jimmylai PRs #6832#6836#7162 Files ensure_future_benchmark.py: ./python.exe ensure_furture_benchmark.py -o ensure_future_optimized.json Note: these values reflect the state of the issue at the time it wa...
Open Graph Description: BPO 33505 Nosy @asvetlov, @1st1, @jimmylai PRs #6832#6836#7162 Files ensure_future_benchmark.py: ./python.exe ensure_furture_benchmark.py -o ensure_future_optimized.json Note: these values reflect ...
X Description: BPO 33505 Nosy @asvetlov, @1st1, @jimmylai PRs #6832#6836#7162 Files ensure_future_benchmark.py: ./python.exe ensure_furture_benchmark.py -o ensure_future_optimized.json Note: these values reflect ...
Opengraph URL: https://github.com/python/cpython/issues/77686
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optimize asyncio.ensure_future by reordering if conditions","articleBody":"BPO | [33505](https://bugs.python.org/issue33505)\n--- | :---\nNosy | @asvetlov, @1st1, @jimmylai\nPRs | \u003cli\u003epython/cpython#6832\u003c/li\u003e\u003cli\u003epython/cpython#6836\u003c/li\u003e\u003cli\u003epython/cpython#7162\u003c/li\u003e\nFiles | \u003cli\u003e[ensure_future_benchmark.py](https://bugs.python.org/file47591/ensure_future_benchmark.py \"Uploaded as text/plain at 2018-05-15.13:41:57 by @jimmylai\"): ./python.exe ensure_furture_benchmark.py -o ensure_future_optimized.json\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2018-05-28.19:14:26.685\u003e\ncreated_at = \u003cDate 2018-05-14.20:45:32.923\u003e\nlabels = ['3.8', 'expert-asyncio', '3.7', 'performance']\ntitle = 'Optimize asyncio.ensure_future by reordering if conditions'\nupdated_at = \u003cDate 2018-05-28.19:14:26.684\u003e\nuser = 'https://github.com/jimmylai'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-05-28.19:14:26.684\u003e\nactor = 'yselivanov'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2018-05-28.19:14:26.685\u003e\ncloser = 'yselivanov'\ncomponents = ['asyncio']\ncreation = \u003cDate 2018-05-14.20:45:32.923\u003e\ncreator = 'jimmylai'\ndependencies = []\nfiles = ['47591']\nhgrepos = []\nissue_num = 33505\nkeywords = ['patch']\nmessage_count = 4.0\nmessages = ['316572', '316656', '317887', '317899']\nnosy_count = 3.0\nnosy_names = ['asvetlov', 'yselivanov', 'jimmylai']\npr_nums = ['6832', '6836', '7162']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue33505'\nversions = ['Python 3.6', 'Python 3.7', 'Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jimmylai","@type":"Person","name":"jimmylai"},"datePublished":"2018-05-14T20:45:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/77686/cpython/issues/77686"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b6b99eb-4de8-84d2-cdef-e2875f8b253e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E70:1524D4:3568E5:4A29F7:6A59CA1C |
| html-safe-nonce | f3c72547abb604df7e1e13c135f4bd17cc7d811b2901ae260aaa212496373f46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTcwOjE1MjRENDozNTY4RTU6NEEyOUY3OjZBNTlDQTFDIiwidmlzaXRvcl9pZCI6IjQ3MTMwOTg1MzQ2MDE3Mzg3ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6134e328b4cf72b8ee70de474f29de6b1d758d32ab86c2ccfc3e534c2f5456dd |
| hovercard-subject-tag | issue:1198991410 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/77686/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dca8421263275a2931ad7090b70a7fbbee706f92129ba945c3b573b8ac6c95e7/python/cpython/issues/77686 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dca8421263275a2931ad7090b70a7fbbee706f92129ba945c3b573b8ac6c95e7/python/cpython/issues/77686 |
| og:image:alt | BPO 33505 Nosy @asvetlov, @1st1, @jimmylai PRs #6832#6836#7162 Files ensure_future_benchmark.py: ./python.exe ensure_furture_benchmark.py -o ensure_future_optimized.json Note: these values reflect ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jimmylai |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width