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

Fix a memory performance issue when creating Dagger's BindingGraph. #4120

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Fix a memory performance issue when creating Dagger's BindingGraph.

This CL fixes an issues where each subcomponent was storing its complete list of accessible bindings, which includes any bindings it needs from its ancestor components. This ends up requiring much more space than actually required if we just store the bindings owned by the subcomponent and delegate to the parent component for any bindings accessible there.

I think this can likely be done for our LegacyBindingGraph classes as well, but I'll save that for another CL.

RELNOTES=N/A

@copybara-service copybara-service bot closed this Oct 31, 2023
@copybara-service copybara-service bot deleted the test_577967631 branch October 31, 2023 21:42
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.

0 participants