You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a couple duplicated queries in the build list screen. One is to get the project (probably from Build.get_absolute_url) for the build and the other gets the version (probably from build_list_detailed.html). This results in O(n) SQL queries where n is the number of builds displayed. It should be possible to get the project and version for each build using select_related.
The text was updated successfully, but these errors were encountered:
While working on #5464, I discovered a performance issue on the build list screen.
There appears to be a couple duplicated queries in the build list screen. One is to get the project (probably from
Build.get_absolute_url
) for the build and the other gets the version (probably frombuild_list_detailed.html
). This results in O(n) SQL queries where n is the number of builds displayed. It should be possible to get the project and version for each build usingselect_related
.The text was updated successfully, but these errors were encountered: