Performance: DateTime::Event::Holiday::US holiday-set test exceeds CPAN timeout
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- compilers, performance
Piste de recherche
Start with the focused t/00-basic.t test in DateTime-Event-Holiday-US-0.02 and reproduce the holiday-list construction on the PerlOnJava JVM and interpreter backends. Compare the recurrence/set enumeration behavior with standard Perl, then verify that the test completes within a practical CPAN timeout without changing its 224 assertions.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
DateTime-Event-Holiday-US-0.02 runs substantially slower on PerlOnJava than on standard Perl when building the combined holiday set. The CPAN tester's 120-second timeout is too short for this test under PerlOnJava.
Reproduction
Distribution: DateTime-Event-Holiday-US-0.02
Focused test: t/00-basic.t (224 assertions)
CPAN random tester run: 20260926-090435-21478
The test reaches:
# Building list of holidays. This will take a long time.
Results:
- Standard Perl 5.42.2: all 224 assertions pass in about 16 seconds.
- PerlOnJava JVM backend: all 224 assertions pass with a 300-second timeout, completing in roughly 3 minutes; it exceeds the tester's 120-second timeout.
- PerlOnJava interpreter backend: no additional output for 60 seconds after module load and holiday-list construction began.
The same CPAN dependency overlay was used for the PerlOnJava reproduction. The distribution and its dependencies are pure Perl; no native prerequisite is involved.
Expected behavior
The test should complete within a practical CPAN compatibility timeout, closer to standard Perl performance.
Investigation requested
Please identify why recurrence/set enumeration for this workload is so much slower on PerlOnJava, and optimize or otherwise address the regression. The timeout itself is not an infinite hang: the JVM backend eventually completes successfully with a 300-second bound.
- Langage dominant
- Perl
- Étoiles
- 64
- Forks
- 6
- Merge moyen
- 4 h 55 min
- PR mergées (30 j)
- 169
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun 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 fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
fglock/PerlOnJava#1341 ·
Les mainteneurs répondent en général sous 1 jour
-
area:cpan-port area:regex area:unicode bug
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
fglock/PerlOnJava#1556 ·
Les mainteneurs répondent en général sous 1 jour
-
area:backend area:runtime bug
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
fglock/PerlOnJava#1554 ·
Les mainteneurs répondent en général sous 1 jour
-
area:cpan-port area:runtime bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
fglock/PerlOnJava#1552 ·
Les mainteneurs répondent en général sous 1 jour
-
area:backend area:cpan-port bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
fglock/PerlOnJava#1548 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fglock/PerlOnJava
Issues similaires
-
Remote IMAP SSL setting is not inherited by discovered folders, causing port 143 connectionsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
objectionary/eolang.sty#167 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
conan-io/conan-center-index#31065 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
openfoodfacts/openfoodfacts-server#14749 ·
Les mainteneurs répondent en général sous 1 jour