[arch-general] One more tiny patch that should bring a massive performance boost :D

Dan McGee dpmcgee at gmail.com
Tue Jan 26 00:08:17 EST 2010


On Mon, Jan 25, 2010 at 11:03 PM, Evangelos Foutras <foutrelis at gmail.com> wrote:
> Hello,
>
> During the recent libpng/libjpeg rebuilds, one thing that I noticed is
> that (big) Todo lists are really slow to load. Turns out that the
> current code is doing tons of simple queries (4 per package) which,
> although are quick to execute on the database server, take a
> considerable ammount of time to make.
>
> Thankfully, Django provides a mechanism to fetch all needed data in one
> go, which proved to be much faster during my testing. :)
>
> (If I should be sending these to a developer instead of this mailing
> list, please let me know.)

The ML is the right place for this, thanks a lot!

-Dan


More information about the arch-general mailing list