Trim fixed per-scenario overhead
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Refactorisation
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- performance, testing
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- PHP
- Étoiles
- 42
- Forks
- 29
- Merge moyen
- 21 h 6 min
- PR mergées (30 j)
- 24
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de wp-cli/wp-cli-tests
-
scope:testing status:unconfirmed
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
wp-cli/wp-cli-tests#389 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
os:windows scope:testing status:unconfirmed
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
wp-cli/wp-cli-tests#427 ·
Les mainteneurs répondent en général sous 1 jour
-
bug scope:testing
Difficulté 4/5 3-5 jours Accessibilité débutants 22/100
wp-cli/wp-cli-tests#426 ·
Les mainteneurs répondent en général sous 1 jour
-
scope:artifacts scope:distribution scope:testing
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
wp-cli/wp-cli-tests#425 ·
Les mainteneurs répondent en général sous 1 jour
-
Epic: Explicit test requirementsOuvertescope:testing
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
wp-cli/wp-cli-tests#395 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de wp-cli/wp-cli-tests
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 3 jours
-
sync-en
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
[Sync EN] Formatting improvements to "Large Objects (LOBs)" docs (#6056)Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertesync-en
Difficulté 1/5 Moins d'une heure Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
Перевод устарел
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 1 jour
-
repo:cms
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
craftcms/cms#20613 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour