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

Cache the OpenAPI schema. #833

Merged
merged 2 commits into from
Oct 8, 2019
Merged

Cache the OpenAPI schema. #833

merged 2 commits into from
Oct 8, 2019

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Oct 8, 2019

For large programs, re-fetching this schema repeatedly adds up to a
significant portion of execution time. This caching reduces the
execution time of the Istio example’s pulumi preview by about 60-70%.

Contributes to #827.

Proposed changes

Related issues (optional)

For large programs, re-fetching this schema repeatedly adds up to a
significant portion of execution time. This caching reduces the
execution time of the Istio example by about 60-70%.

Contributes to #827.
@lblackstone
Copy link
Member

Change LGTM. I wonder if this would be worth PR'ing upstream as well? It does seem suspect to repeatedly pull down the schema, especially since the purpose of this client is caching.

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.

None yet

2 participants