Merge lp:~lifeless/launchpad/bug-618367 into lp:launchpad
Proposed by
Robert Collins
on 2010-09-15
| Status: | Merged |
|---|---|
| Approved by: | Paul Hummer on 2010-09-15 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11558 |
| Proposed branch: | lp:~lifeless/launchpad/bug-618367 |
| Merge into: | lp:launchpad |
| Diff against target: |
227 lines (+89/-54) 5 files modified
lib/lp/blueprints/browser/specificationtarget.py (+6/-0) lib/lp/blueprints/browser/tests/test_specificationtarget.py (+46/-12) lib/lp/blueprints/model/specification.py (+28/-39) lib/lp/blueprints/templates/specificationtarget-assignments.pt (+4/-2) lib/lp/services/database/prejoin.py (+5/-1) |
| To merge this branch: | bzr merge lp:~lifeless/launchpad/bug-618367 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | 2010-09-15 | Approve on 2010-09-15 | |
|
Review via email:
|
|||
Commit Message
Batch +assignments and tune the specs sql to cater for storm handling of very wide queries.
Description of the Change
Second stab at addressing /ubuntu/
This branch does two things:
- it uses a slightly different preloading strategy which avoids some sometimes slow stuff in storm
- it batches with a default of 500 (we have 3000 specs on that page)
This is one of the slowest pages we have now (\o/).
The only downside I can see here is that the sorted columns on the table are not brilliantly integrated into the batching, but I don't know of any workaround for that.
To post a comment you must log in.
review:
Approve
