Record benchmark provenance per section

オープン
#513 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
tooling

調査の方向性

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時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sysprog21/elfuse のほかの issue

sysprog21/elfuse の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。