branch rewrite script could be much more efficient

Bug #401571 reported by Michael Hudson-Doyle
6
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.

Tags: lp-code

Related branches

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
Tim Penhey (thumper)
Changed in launchpad-code:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.