Changes view slow to render with large initial import

Bug #253950 reported by Stephen O'Neill
20
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
High
Michael Hudson-Doyle

Bug Description

We have migrated to bzr from subversion. Our revision 1 contains an import of the trunk from our svn system which consists of around 10000 files and directories.

When we use the 'changes' view it shows a collapsed tree for each revision. However the hidden HTML for revision 1 is very large due to the large number of files added resulting in 3.3MB of HTML being sent to the browser.

Firefox then uses a lot of CPU for up to 1 minute as would be expected.

Possible solutions that spring to mind would be to optionally ellipsis after a certain amount of data; to use javascript/XML-RPC to retrieve the data on request; or to use paging so that we won't care about this in the future.

We are using the latest version of loggerhead from trunk.

Revision history for this message
Martin Albisetti (beuno) wrote :

I've been working on something that does exactly this :)

Changed in loggerhead:
assignee: nobody → beuno
importance: Undecided → High
status: New → Confirmed
Martin Albisetti (beuno)
Changed in loggerhead:
status: Confirmed → Triaged
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Trunk r300 fixes the problem as described in this report, but there's more to do...

Changed in loggerhead:
assignee: beuno → mwhudson
status: Triaged → In Progress
Martin Albisetti (beuno)
Changed in loggerhead:
status: In Progress → Fix Committed
Martin Albisetti (beuno)
Changed in loggerhead:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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