Avoid releasing the GIL in nonblocking socket operations
未关闭
还没有人认领这个 Issue。
3.12
performance
topic-socket
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 45819 |
|---|---|
| Nosy | @rhettinger, @tiran, @asvetlov, @1st1, @jakirkham, @jcrist |
| PRs | |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2021-11-16.18:51:40.323>
labels = ['3.11', 'expert-asyncio', 'expert-IO', 'performance']
title = 'Avoid releasing the GIL in nonblocking socket operations'
updated_at = <Date 2022-02-02.23:18:52.305>
user = 'https://github.com/jcrist'
bugs.python.org fields:
activity = <Date 2022-02-02.23:18:52.305>
actor = 'jakirkham'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['IO', 'asyncio']
creation = <Date 2021-11-16.18:51:40.323>
creator = 'jcristharif'
dependencies = []
files = ['50443']
hgrepos = []
issue_num = 45819
keywords = ['patch']
message_count = 3.0
messages = ['406422', '406431', '406436']
nosy_count = 6.0
nosy_names = ['rhettinger', 'christian.heimes', 'asvetlov', 'yselivanov', 'jakirkham', 'jcristharif']
pr_nums = ['29579']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'performance'
url = 'https://bugs.python.org/issue45819'
versions = ['Python 3.11']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 bench.py 和链接的 PR python/cpython#29579,然后跟踪基准测试所覆盖的非阻塞套接字操作。对于这些操作,所要求的 GIL 释放行为已完成更改,并且基准测试仍能展示预期的性能行为,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100