Record benchmark provenance per section

Ouverte
#513 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
73/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python
Domaine
tooling

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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)

Langage dominant
C
Étoiles
287
Forks
33
Merge moyen
2 j 17 h
PR mergées (30 j)
18

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de sysprog21/elfuse

Toutes les issues de sysprog21/elfuse

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.