Skip to content

Dashboard screen performance issue #5465

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

Closed
davidfischer opened this issue Mar 15, 2019 · 1 comment · Fixed by #5471
Closed

Dashboard screen performance issue #5465

davidfischer opened this issue Mar 15, 2019 · 1 comment · Fixed by #5471
Labels
Good First Issue Good for new contributors Improvement Minor improvement to code

Comments

@davidfischer
Copy link
Contributor

While working on #5464, I discovered a performance issue on the dashboard screen.

Getting the latest build status and the number of builds for each project results in an extra SQL query each. This results in O(n) SQL queries where n is the number of projects displayed. It should be possible to get the latest build and number of builds for each project using a Django annotation or a similar feature.

Screen Shot 2019-03-15 at 10 35 18 AM

@davidfischer davidfischer added Good First Issue Good for new contributors Improvement Minor improvement to code labels Mar 15, 2019
@saadmk11
Copy link
Member

Working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good for new contributors Improvement Minor improvement to code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants