branch rewrite script could be much more efficient
Bug #401571 reported by
Michael Hudson-Doyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Michael Hudson-Doyle |
Bug Description
Currently when the branch-rewrite process misses its cache, it takes about 0.5s to get the data from the XML-RPC server. Given that a reasonably smart query can get the data from the database in less than a millisecond, this seems pretty slow.
The main speed up would probably come from switching to direct database access, although we could probably do fewer queries too.
Related branches
lp:~mwhudson/launchpad/much-faster-rewrite-map
- Tim Penhey (community): Approve
- Diff: None lines
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in launchpad-code: | |
assignee: | nobody → Michael Hudson (mwhudson) |
milestone: | none → 2.2.8 |
status: | Triaged → In Progress |
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.