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

Make AddSeeTestAnnotationRector slightly more performant as very slow, keep existing see annotations #343

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Jun 27, 2024

I've added phpunit code quality set to Rector core, and it got slowed down a lot.

After bit testing, this rule itself cost 20 % of the runtime. Probably because checking all the possible namespace positions for tests class names.

Saying that, it should be run just once intentionally.

@TomasVotruba TomasVotruba changed the title tv slow Make AddSeeTestAnnotationRector slightly more performant as very slow, keep existing see annotations Jun 27, 2024
@TomasVotruba TomasVotruba enabled auto-merge (squash) June 27, 2024 06:34
@TomasVotruba TomasVotruba merged commit b3529d4 into main Jun 27, 2024
5 checks passed
@TomasVotruba TomasVotruba deleted the tv-slow branch June 27, 2024 06:35
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.

1 participant