You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
On my computers decdk takes over two minutes to build a simple hello-world stack, which seems a bit excessive.
Most of the effort appears to be spent in renderFullSchema(), which iterates through a lot of CPU-intensive loops while calling schemaForTypeReference(). Perhaps all this looping could be improved by building some lookup hash tables or other similar solutions?
It also seems that the rendered schema could be easily loaded from cdk.schema.json instead of generating it from scratch every time in the DeclarativeStack constructor.
On my computers decdk takes over two minutes to build a simple hello-world stack, which seems a bit excessive.
Most of the effort appears to be spent in
renderFullSchema(), which iterates through a lot of CPU-intensive loops while callingschemaForTypeReference(). Perhaps all this looping could be improved by building some lookup hash tables or other similar solutions?It also seems that the rendered schema could be easily loaded from cdk.schema.json instead of generating it from scratch every time in the
DeclarativeStack constructor.Transferred from aws/aws-cdk#12349 (originally posted by @kennu).