Skip to content

Fix regression in startup performance when many scripts are defined and heavy classmaps are in use#12832

Merged
Seldaek merged 1 commit into
composer:mainfrom
Seldaek:fixperf
May 8, 2026
Merged

Fix regression in startup performance when many scripts are defined and heavy classmaps are in use#12832
Seldaek merged 1 commit into
composer:mainfrom
Seldaek:fixperf

Conversation

@Seldaek
Copy link
Copy Markdown
Member

@Seldaek Seldaek commented May 8, 2026

Fixes #12829

@Seldaek Seldaek added this to the 2.10 milestone May 8, 2026
@Seldaek Seldaek merged commit c1d6eae into composer:main May 8, 2026
22 checks passed
@Seldaek Seldaek deleted the fixperf branch May 8, 2026 08:25
@staabm
Copy link
Copy Markdown
Contributor

staabm commented May 8, 2026

might be worth adding a phpbench test-case to prevent regressions

@Seldaek
Copy link
Copy Markdown
Member Author

Seldaek commented May 8, 2026

Yeah maybe. but it's just very hard to bench stuff as this one was dependent on many compounding factors to trigger the issue.. The obvious problems we notice them quickly. So I doubt this would really save us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

composer very slow on 2.9.6 and 2.9.7; fast on 2.9.5

2 participants