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 degradation of AttachResourceConfigTransformer
on big graphs
#35087
Comments
Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again! |
hi folks we are seeing dramatic performance decrease since 1.8.x and 1.9.x, on a typical aztfmod/caf run for a plan, we got:
|
@arnaudlh Out of curiosity, how many objects are in your TF plan and state? For me, performance degradation was in 1.4.5 and 1.5.7 (I didn't test the other versions), so I made this fix. We have other places where we have N^2 operations:
Potential places with similar performance profile:
|
@arnaudlh If the 1.9 alpha didn't fix the issue, then you should open a new issue -- it will be unrelated to this one. |
Terraform Version
Use Cases
We need to evaluate big graphs, and this part of the code has N^2 complexity, leading to significant performance degradation during plan/apply
Attempted Solutions
Code changes are made and PR will be submitted
Proposal
No response
References
No response
The text was updated successfully, but these errors were encountered: