Track CI build performance optimizations

Abierto
#6,265 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@max-charlamb ya está trabajando en esto.

Desde el 18/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

tracking

Goal

Reduce PR validation time while keeping the current test coverage and make the improvements measurable against a stable baseline.

Pre-change baseline

The baseline uses eight successful builds from eight unique PRs after the pipeline topology change in #6236 and before the optimizations in #6262 and #6264.

  • Median queue-to-finish time: 64.3 minutes
  • Average queue wait before pipeline start: 3.2 minutes (median 0.4 minutes; one 18.4-minute outlier raised the average)
  • Median pipeline timeline span: 63.6 minutes
  • Median time until all build jobs completed: 30.6 minutes
  • Direct test jobs: approximately 5-7 minutes
  • Helix jobs: approximately 20-24 minutes median, with substantial queue/runtime variance

Median Build task durations:

Platform Duration
Linux x64 9.0 min
Windows x64 10.7 min
macOS x64 17.2 min
macOS arm64 21.4 min

Gathering and publishing TestArtifacts adds approximately 1.7-3.3 minutes per build leg. This work currently also happens on the Linux arm, Linux musl arm, and Linux musl arm64 packaging-only legs, which have no downstream test jobs.

Baseline build IDs: 1688667, 1688123, 1687333, 1686411, 1686321, 1686317, 1686085, and 1685939.

Optimizations

Measurement methodology

For the after-change comparison:

  1. Select the eight most recent successful builds from eight unique PRs using the same pipeline topology.
  2. Compare the Build task, TestArtifacts gather/publish tasks, complete build jobs, and direct/Helix test jobs separately.
  3. Report median, mean, P90, minimum, and maximum durations.
  4. Report queue-to-finish and timeline span, but identify whether build execution, agent availability, or Helix was on the critical path.
  5. Compare both absolute minutes and percentage change against this baseline.

Task-level measurements are the primary success criteria because end-to-end pipeline duration can be dominated by agent and Helix queue variance.

Lenguaje dominante
C++
Estrellas
1.3k
Forks
409
Merge medio
17 h 55 min
PR fusionados (30 d)
78

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 dotnet/diagnostics

Todos los issues de dotnet/diagnostics

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.