Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Performance: DateTime::Event::Holiday::US holiday-set test exceeds CPAN timeout

オープン
#1,541 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, perl

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug

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.

主要言語
Perl
スター
64
フォーク
6
平均マージ
4時間 55分
マージ済み PR(30日)
169

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。