Trim fixed per-scenario overhead
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- performance, testing
Línea de trabajo
Find the code that deletes the scenario RUN_DIR and the step definition for I launch in the background in the PHP test framework. Read #384 to learn the baseline CI timing method, then open a draft PR and run the same CI jobs to record both results. Done means the directory cleanup runs in the background and the process check waits only as needed, with timings posted here.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A few fixed costs are paid by every scenario, or by every scenario of a kind, without contributing to what is tested:
- Removing the scenario's
RUN_DIR(about 3,800 files for a WordPress install) blocks the next scenario for about 50 ms. It can happen in the background once the directory is moved out of the way. - Starting a background process (
I launch in the background, the PHP built-in web server) always waits a full second before checking that the process is alive, even when it is ready much sooner.
Across all bundled commands, this adds up to roughly 2 to 3 minutes for each CI configuration.
Measuring: take the baseline from #384, then open a draft PR, run the same CI jobs against it and record both results here before we decide.
- Lenguaje dominante
- PHP
- Estrellas
- 42
- Forks
- 29
- Merge medio
- 21 h 6 min
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wp-cli/wp-cli-tests
-
scope:testing status:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
wp-cli/wp-cli-tests#389 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
os:windows scope:testing status:unconfirmed
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
wp-cli/wp-cli-tests#427 ·
Los mantenedores suelen responder en 1 día
-
bug scope:testing
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
wp-cli/wp-cli-tests#426 ·
Los mantenedores suelen responder en 1 día
-
scope:artifacts scope:distribution scope:testing
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
wp-cli/wp-cli-tests#425 ·
Los mantenedores suelen responder en 1 día
-
Epic: Explicit test requirementsAbiertoscope:testing
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
wp-cli/wp-cli-tests#395 ·
Los mantenedores suelen responder en 1 día
Todos los issues de wp-cli/wp-cli-tests
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 3 días
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
[Sync EN] Formatting improvements to "Large Objects (LOBs)" docs (#6056)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertosync-en
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
repo:cms
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
craftcms/cms#20613 · 1 comentario ·
Los mantenedores suelen responder en 1 día