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

performance issues on targets/tests and build views #61

Open
trey-ivy opened this issue Dec 11, 2024 · 0 comments
Open

performance issues on targets/tests and build views #61

trey-ivy opened this issue Dec 11, 2024 · 0 comments
Assignees

Comments

@trey-ivy
Copy link
Collaborator

trey-ivy commented Dec 11, 2024

the invocation view is pretty performant overall, but as you scale the number of items in the database, the targets and tests views start to crawl. When you get a substantial number of steps in your build, the build view also starts to crawl and can become unresponsive.

target and test views:
refactor the graphql query on the backend to do less calculation and just dump results to speed things up. This might mean no pass percentage on the /targets or /tests views themselves and no pass/fail grid on that view, but we can just move that data into the details views and get things working overall much more smoothly

builds view:
there is no good reason why the builds view needs to include all the invocation details for every invocation in the build. I think it would work better if it was just a list of invocations with a tagline that contains some basic data (pass/fail, duration, etc.). If you want to drill in and view more, there is always the bazel-invocations/[slug] details view

@trey-ivy trey-ivy self-assigned this Dec 11, 2024
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