Skip to content

Improve properties bind performance by add enumerable propertySource #45968

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tanruian
Copy link

@tanruian tanruian commented Jun 15, 2025

Update ManagementContextAutoConfiguration. use an EnumerablePropertySource to provide better property binding performance

Upgrade spring-boot to 3.5.0, an issue where a property source binds to java objects slowly, for deep nested collection (consists of 4 depth), around 1 minutes. Number of scans of property with exponential growth.
Because the ManagementContextAutoConfiguration automatically adds an un enumerable property source to the environment,resulting in the inability to confirm whether the property source contains bindable property, requiring guessing and traversing property one by one based on the index 0-12

#45970

Update `ManagementContextAutoConfiguration`. use an EnumerablePropertySource to provide better property binding performance


Signed-off-by: tanruian <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 15, 2025
@tanruian tanruian changed the title Improve performance by add enumerable propertySource Improve properties bind performance by add enumerable propertySource Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants