-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Performance #441
Comments
Why not send PR instead? :) It's very welcomed |
May be BC break. |
So? |
@mssimi Don't worry, Rector isn't even in Alpha, we can break whatever we want 😂
I'm tracking Roave/BetterReflection#410, because maybe the next version of BetterReflection can help us in performance as well. |
Closing for unclear intentions |
rectorphp/rector-src@b001e38 [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
…e no return (rectorphp#441) * [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return * Fixed 🎉 * [ci-review] Rector Rectify Co-authored-by: GitHub Action <[email protected]>
I did some testing with blackfire.io you can check it here.
It seems like performance bottleneck comes from https://github.com/rectorphp/BetterReflection.
I did some testing and I think we may improve performance by adding caching here. I tested in on simple Symfony Form and I noticed it is actually doing same thing 3 times, if we cache it, we should improve performance by 300%.
The text was updated successfully, but these errors were encountered: