Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-2412

[core] Home view triggers over 350 SQL queries

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.10.0
    • Component/s: core.backend
    • Labels:
      None

      Description

      With just the examples installed, the home view in projects/hue/desktop/src/desktop is generating over 350 sql calls in order to build up the initial page. This causing that page to take about 20 seconds to be fetched. We can get some nice speedup if we make use of some targeted use of .prefetch_related to fetch as much as we can in one go.

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              erickt Erick Tryzelaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: