-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Optimize startup time SpringCacheAnnotationParser #8056
Comments
@jhoeller Can you see anything obvious that could be done to improve the annotation processing performance. I wonder if calling |
@philwebb I am confused, |
@snicoll Yes, I have a feeling that this will ultimately be something we can't fix in Boot. |
This is a known issue (also with |
Looking at the PetClinc it appears that
SpringCacheAnnotationParser
might be a hotspot. It searches every method in the app for@Cache...
annotations. Not sure if there's much we can do, it might be a Spring issue. It seems a little related to the performance ofAnnotatedElementUtils
.The text was updated successfully, but these errors were encountered: