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

--freshen takes too long #1143

Open
lcarva opened this issue Nov 3, 2023 · 0 comments
Open

--freshen takes too long #1143

lcarva opened this issue Nov 3, 2023 · 0 comments

Comments

@lcarva
Copy link
Member

lcarva commented Nov 3, 2023

Running the following command:

ec --debug track bundle \
  --input "quay.io/redhat-appstudio-tekton-catalog/data-acceptable-bundles:latest" \
  --freshen

Takes about 4 1/2 minutes.

It looks like part of the problem is that freshen selects almost 300 image refs to query. It is a large data source so this is somewhat expected.

Let's consider ways that we can speed this up a bit. My computer had low cpu and network usage during the period which suggests we should get some improvements if we check those refs in parallel.

Also, some of the tags represent a git commit. Maybe we can ignore those? That should reduce the amount of queries significantly.

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

No branches or pull requests

1 participant