Record benchmark provenance per section

Abierto
#513 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
73/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)

Lenguaje dominante
C
Estrellas
287
Forks
33
Merge medio
2 d 17 h
PR fusionados (30 d)
18

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sysprog21/elfuse

Todos los issues de sysprog21/elfuse

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.