Skip to content

Prevent repetitive calls to getArgs()#4799

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:repeat
Jan 21, 2026
Merged

Prevent repetitive calls to getArgs()#4799
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:repeat

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 21, 2026

getArgs() currently takes 1% of cpu time

Its invoked a lot

grafik

@ondrejmirtes ondrejmirtes merged commit 06c6da1 into phpstan:2.1.x Jan 21, 2026
626 of 639 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the repeat branch January 21, 2026 16:58
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.

2 participants