python / python/pyperformance

"upload" only works with "compiled" benchmarks

未关闭
#38 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
1k
派生
203
平均合并
1 小时 20 分钟
30 天内合并 PR
2

描述

My workflow for PyPy is

  1. download latest version compiled on buildbot,
  2. run benchmarks,
  3. upload data (using command line option upload, which goes through compile.py, but should it?.

The cmd_upload function in compile.py assumes BenchmarkRevision.update_metadata from compile.py has been run to add commit information (commit_id, commit_branch, commit_date) and possibly patch_file to the json benchmark info. But because I am not running compile this info is lacking. Possible solutions:

  • add a download_prebuilt option to compile.py and the Python class to support this workflow
  • refactor the update_metadata method from BenchmarkRevision to become part of every benchmark run

Any thoughts? Should there be an upload.py separate from compile.py?

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读 compile.py,尤其是 cmd_upload、BenchmarkRevision.update_metadata 和 Python 类。跟踪下载的 Buildbot 基准测试与已编译基准测试之间的差异,以及在上传前如何添加元数据。完成的标准是:所描述的 PyPy 工作流可以上传基准测试数据,而不要求本地编译步骤,并且所选择的分离或重构有相关测试覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
performance, tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。