New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue when analysing project with prinsfrank/standards #10772
Comments
/cc @staabm You might want to look into this :) Why exactly is it slow. |
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
I can have a look this afternoon |
Thanks :) |
the root cause of the problem is a explosion in enum-case-union-elements. still investigating... https://blackfire.io/profiles/a352df89-1520-44e1-a5e7-1f031fffbc82/graph |
6-8% faster by roave upstream change: Roave/BetterReflection#1410 |
Fixed phpstan/phpstan-src#2985 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
Repository: https://github.com/h4kuna/phpstan-long-run
Analysed file: https://github.com/h4kuna/phpstan-long-run/blob/main/src/test.php
Steps:
Takes about 98 seconds on my machine.
Code snippet that reproduces the problem
No response
Expected output
Should be instant.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: