We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm running into a performance regression between 1.8.1 and 1.8.3.
This file contains a lot of array structures, and is already fairly slow on 1.8.1. On 1.8.3, the time to analyse explodes.
bin/phpstan analyse <file>.php --debug -vvv
On 1.8.1:
--- consumed 70.5 MB, total 118.5 MB, took 33.14 s
On 1.8.3:
--- consumed 72.5 MB, total 122.5 MB, took 264.10 s
The file in question is full of business logic and references other classes, so I took the time to strip it down to something without dependencies.
Analysis of this stripped file in 1.8.3 shows a 10x slowdown compared to 1.8.1:
--- consumed 18 MB, total 46 MB, took 6.40 s
--- consumed 28 MB, total 78 MB, took 68.58 s
Stripped down file: file.php.txt
The text was updated successfully, but these errors were encountered:
Hi there! 👋
Looks like you opened an issue without following one of the issue templates:
If something isn't working as expected 🤔.
I have a suggestion (and may want to implement it 🙂)!
I need some help with my code because PHPStan doesn't like it.
The current issue will be closed. This is a precaution to save maintainer's time, I hope you'll understand.
Sincerely, the bot 🤖
Sorry, something went wrong.
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.
No branches or pull requests
I'm running into a performance regression between 1.8.1 and 1.8.3.
This file contains a lot of array structures, and is already fairly slow on 1.8.1. On 1.8.3, the time to analyse explodes.
On 1.8.1:
On 1.8.3:
The file in question is full of business logic and references other classes, so I took the time to strip it down to something without dependencies.
Analysis of this stripped file in 1.8.3 shows a 10x slowdown compared to 1.8.1:
On 1.8.1:
On 1.8.3:
Stripped down file:
file.php.txt
The text was updated successfully, but these errors were encountered: