Skip to content

10% faster FunctionCallParametersCheck #3734

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

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Dec 16, 2024

2.0.x before this PR

time php bin/phpstan --debug  
79.37s user 0.92s system 99% cpu 1:20.37 total

2.0.x after this PR

time php bin/phpstan --debug  
76.22s user 0.84s system 99% cpu 1:17.13 total

by reducing getType calls:

grafik

@ondrejmirtes ondrejmirtes merged commit 2d64686 into phpstan:1.12.x Dec 16, 2024
222 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the less-type12 branch December 16, 2024 13:19
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.

None yet

2 participants