Skip to content

Analyzing Tempest CatalogInitializer is slow #14978

Description

@staabm

Bug report

for some reason analyzing CatalogInitializer in tempest-framework takes a lot of time. especiall when running it in blackfire profiler, it takes 1min 16 alone.
running it in plain phpstan takes ~5 seconds on a mac M4:

➜  tempest-framework git:(3.x) ✗ vendor/bin/phpstan analyze --debug packages/intl/src/Catalog/CatalogInitializer.php -v
Note: Using configuration file /Users/m.staab/dvl/tempest-framework/phpstan.neon.dist.
/Users/m.staab/dvl/tempest-framework/packages/intl/src/Catalog/CatalogInitializer.php
                                                                                                                        
 [OK] No errors                                                                                         

Elapsed time: 4.76 seconds
Used memory: 90.5 MB

tested on phpstan-src 2.2.x@ce1a7f1

PHP 8.5.8 (cli) (built: Jul 1 2026 03:46:27) (NTS)

Code snippet that reproduces the problem

No response

Expected output

should be doable in 1-2 seconds - or even faster

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions