Improved performance for personal code pages

Edit 2011-11-15 08:18 UTC: The problem is now fixed and we’ve re-enabled the new menu.

Edit 2011-11-11 13:42 UTC: We’ve temporarily disabled the new menu while we fix some unfortunate side effect.

We’ve just deployed a new, simplified version of the branch menu displayed on the right hand side of personal code pages (e.g. personal page for the Launchpad team). It looks like this:

Old menu

New menu

Calculating the number of branches took way too much time for people/teams with a huge number of branches (e.g., up to the point that they were getting timeouts.

The new design, along with optimisations we’ve made to the database queries, should improve performance for everyone.

3 Responses to “Improved performance for personal code pages”

  1. Vadim P. Says:

    I hope the bug counts per-project won’t be “optimized” like this, because those are useful to me.

  2. Raphaël Badin Says:

    Thanks for your comment Vadim.

    Please note that we made optimizations to the queries themselves *and* changed the design to avoid having to perform the expensive counts.

    Also, the new portlet is only for personal code pages and is very much in sync with what we already do for personal bug pages (e.e.

  3. Fitoschido Says:

    Any change that helps to improve LP’s performance is welcome! Thanks!

Leave a Reply