[Bug 628657] Re: goes wild when selecting latest proposed oo packages

2010-09-02 Thread Tormod Volden
The above number corresponds approximately to the number of lines in the displayed changelog AFAICT. set_changes_buffer() iterates through each line. I guess the design is just horribly inefficient. File "/usr/bin/update-manager", line 105, in app.main(options) File "/usr/lib/python2.6/di

[Bug 628657] Re: goes wild when selecting latest proposed oo packages

2010-09-02 Thread Tormod Volden
Fiddling with /usr/lib/python2.6/dist-packages/UpdateManager/ChangelogViewer.py I can see that on_insert_text() is called 11136 times each time I click on an oo package. 1266 times for linux-libc-dev, 9 times for ure. -- goes wild when selecting latest proposed oo packages https://bugs.launchpa

[Bug 628657] Re: goes wild when selecting latest proposed oo packages

2010-09-02 Thread Tormod Volden
This is not limited to the oo packages or the -proposed pocket, although that case is very obvious and should be easy to reproduce. Also viewing the latest linux-libc-dev in lucid-updates gives a delay, but it is sub- second. $ apt-cache policy linux-libc-dev linux-libc-dev: Installed: 2.6.32-24

[Bug 628657] Re: goes wild when selecting latest proposed oo packages

2010-09-02 Thread Tormod Volden
** Attachment added: "ltrace when clicking on an oo package (truncated to 20MB)" https://bugs.edge.launchpad.net/bugs/628657/+attachment/1536854/+files/update-manager_oo.ltrace.gz ** Attachment added: "Dependencies.txt" https://bugs.edge.launchpad.net/bugs/628657/+attachment/1536855/+file