Performance: DateTime::Event::Holiday::US holiday-set test exceeds CPAN timeout
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- compilers, performance
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Perl
- Stelle
- 64
- Fork
- 6
- Merge medio
- 5h
- PR unite (30g)
- 161
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
fglock/PerlOnJava#1341 ·
I maintainer di solito rispondono entro 2 giorni
-
area:backend area:cpan-port bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
fglock/PerlOnJava#1548 ·
I maintainer di solito rispondono entro 2 giorni
-
area:backend area:cpan-port area:parser area:runtime bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
fglock/PerlOnJava#1528 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
fglock/PerlOnJava#1524 ·
I maintainer di solito rispondono entro 2 giorni
-
area:backend area:runtime bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 65/100
fglock/PerlOnJava#1523 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di fglock/PerlOnJava
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openfoodfacts/openfoodfacts-server#14749 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rubocop/ruby-style-guide#982 ·
-
bug question
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
RotherOSS/otobo#6172 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100