Feature request: Support --enable-pystats
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 1k
- 派生
- 203
- 平均合并
- 1 小时 20 分钟
- 30 天内合并 PR
- 2
描述
It is useful to be able to get stats from the various benchmark suites.
Currently that involves making a custom branch with stats enabled, and benchmarking that.
Since CPython's configure has a --enable-pystats it would be nice to be able to turn that on from the config file.
It would be great if the config.ini file had an option for stats, much as it already has options for debug, pgo and lto.
E.g.
# Turn on stats?
stats = False
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 config.ini 的处理方式以及现有的 debug、pgo 和 lto 选项。跟踪这些选项如何影响 CPython 配置,然后添加相应的 stats 行为,使配置能够启用 --enable-pystats;当 benchmark 运行可以在不使用自定义 branch 的情况下使用 stats 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- performance
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100