launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #04249
Re: performance tuesday - a few notes
-
To:
launchpad-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Jeroen Vermeulen <jtv@xxxxxxxxxxxxx>
-
Date:
Thu, 12 Aug 2010 21:19:25 +0700
-
In-reply-to:
<AANLkTi=EVz0-BLmApj0fvD0Ur3Krq2o+yNcnQ9QSs2Z-@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6
On 2010-08-10 16:04, Robert Collins wrote:
I (hopefully) helped registry fix a timeout - DistroSeries.packagings
was doing listification, and that meant that a trivial len() in
browser code turned into a very slow operation. This isn't a golden
rule of course - sometimes lists *are* better, but in this case I'm
pretty sure that DecoratedResultSet (which is mind bendingly easy to
use) will help.
I requested a Storm feature to help us guard against accidental
listifications:
http://pad.lv/608679
I helped wgrant out with some explain analyzes - it seems to me it
might be nice - handwaving - to permit explain-analyze calls by any
developer, but perhaps thats just insanity at this hour of the night
kicking in:)
Not "explain analyze," please! But "explain," yes please. See also:
http://pad.lv/604509
Jeroen
References