Record benchmark provenance per section
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with scripts/bench-promote.py, especially the main logic around if missing:, and find the self-test that checks per-column provenance. Change provenance handling so each section keeps its prior date and host when skipped, while measured sections record this run. Update the self-test and run it to confirm both cases.
由索引模型根据 Issue 内容生成。
描述
Problem
scripts/bench-promote.py keeps one provenance entry per column, captured.<env>, and leaves it unchanged whenever any baseline metric in that column was not measured by this run (if missing: in main). A tier the capture skipped is enough: a --prune promote on a host that skips oci or applications (no network, missing tools) writes new lmbench values but keeps the old date and host for the whole column, so the baseline says those values came from the earlier capture.
Proposal
Key provenance per section, captured.<env>.<section>. A skipped tier keeps its own old date and host, and every section this run measured records the new ones. The self-test case that pins the per-column behavior changes with it.
Alternatives
Per-metric provenance would also be exact, but it repeats the same date and host on every leaf; a section is the unit a capture skips, so per-section entries cover the case with one entry per tier.
Origin
Follow-up from #501 (https://github.com/sysprog21/elfuse/pull/501#discussion_r4536986210)
- 主要语言
- C
- 星标
- 287
- 派生
- 33
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 18
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/elfuse 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 2 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
libreswan/libreswan#3185 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
-
category:port-update
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
llvm:instcombine
难度 2/5 1-3 小时 新手友好度 64/100
llvm/llvm-project#246503 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复