Parenting to a resource chain with many alias combinations slows down SDK execution #10010
Labels
area/sdks
Pulumi language SDKs
impact/performance
Something is slower than expected
kind/enhancement
Improvements or new features
Here is a small full repro of the problem in TS:
It has three resources, each parented to another one, so
PublicIPAddress -> VirtualNetwork -> ResourceGroup
. Each of these three resource types has a lot of aliases due to multiple Azure version namespaces.A preview of the program takes 70 seconds on my laptop. Time is mostly spent in the Node.js process. This is due to #8627 - we may want to reconsider that design or find a tradeoff to avoid slowing down cases like the one above.
The text was updated successfully, but these errors were encountered: