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

Deployment performance improvement #20262

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Conversation

stuartwdouglas
Copy link
Member

valuesWithDefaults can actually be relativly expensive, don't call it
unless it is actually needed. Note that 'expensive' in this case is
relative as this method is called a lot.

@quarkus-bot quarkus-bot bot added the area/arc Issue related to ARC (dependency injection) label Sep 20, 2021
valuesWithDefaults can actually be relativly expensive, don't call it
unless it is actually needed. Note that 'expensive' in this case is
relative as this method is called a lot.
Copy link
Contributor

@mkouba mkouba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity - how big is the improvement? I suppose that you came across a use case where this change results in noticable speed-up...

@stuartwdouglas
Copy link
Member Author

I have just been playing around with my bean generator project that simulates a larger app, and in a 2k bean project restart went from 3.7s to 2.7s. This is not representative of a real project by any means, but it is definitely a hotspot.

@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 20, 2021
@geoand geoand merged commit ac34af1 into quarkusio:main Sep 20, 2021
@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Sep 20, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 20, 2021
@gsmet gsmet modified the milestones: 2.3.0.CR1, 2.2.4.Final Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants