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

tk tool importers: Cache the full result #779

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Oct 17, 2022

I hadn't done it before because the benefit was minimal.
However, I've found out that for very heavily used libraries (used by hundreds/thousands of files), it does help
For example, for ksonnet-util which we use everywhere, compute time goes from ~13s to ~6s

I hadn't done it before because the benefit was minimal. However, I've found out that for very heavily used libraries (used by hundreds/thousands of files), it does help
For example, for [`ksonnet-util`](https://github.com/grafana/jsonnet-libs/tree/master/ksonnet-util) which we use everywhere, compute time goes from ~13s to ~6s
@julienduchesne julienduchesne marked this pull request as ready for review October 17, 2022 17:49
@julienduchesne julienduchesne requested a review from a team October 18, 2022 10:52
@julienduchesne julienduchesne merged commit f205567 into main Oct 24, 2022
@julienduchesne julienduchesne deleted the julienduchesne/cache-importers-result branch October 24, 2022 10:52
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.

2 participants