Skip to content
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

MethodSpacingSniff: add class lookup cache to improve performance #940

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

nightlinus
Copy link
Contributor

Increase performance of MethodSpacingSniff by introducing class lookup cache in ClassHelper.

For 8kloc test file time dropped from 2s to 0.4s

@kukulich kukulich added this to the 6.2.0 milestone Mar 25, 2020
@kukulich
Copy link
Contributor

@nightlinus Nice, you just have to figure out some workaround for 100 % code coverage :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants