bugSynaptic - Bugs: bug #30755, synaptic slow: description...


bug #30755: synaptic slow: description search, first install, sub view change

Submitted by:  None
Submitted on:  Thu 12 Aug 2010 01:21:24 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 12 Aug 2010 05:43:37 PM UTC, comment #1:

Thanks a lot for your patch.

Could you please redo it with diff -u (or bzr diff) ? Or can you mail me the files that you modified and I will do the diff myself. The changes sound very interessting!

Michael Vogt <mvogt>
Project Administrator
Thu 12 Aug 2010 01:21:24 AM UTC, original submission:

Synaptic package manager is really slow application,
I wrote path which solves several problems like:
- slow search in descriptions and maintainers
- slow sub view change
- slow first instalation "Reading database..."

I've added:

  • background preload after openCache:

-preload maintainers and descriptions (sort orders on file and offset) (time 900ms; 300ms if not first run)
-preload /var/lib/dpkg/info/*.list files needed by dpkg (time 10s with nice -19; 300ms if not first run)

-first search "name and description" (time from 12s to 200ms)
-first "Reading database...": few times faster

  • remove unnecessary refreshView after subview list click

Gain: click on static subview list loads package list immediately (not after 300ms-400ms)

I did not really test my code (various environments etc).

My changes are in path, I've worked on synaptic 0.63.1ubuntu7 sources.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #21472:  pathlong.diff added by mvogt (23KiB - text/plain - patch from Kamil with diff -u (many thanks))
file #21200:  path.diff added by None (14KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mvogt (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-16 mvogt Attached File- => Added pathlong.diff, #21472
    2010-08-12 None Attached File- => Added path.diff, #21200

    Back to the top

    Powered by Savane 3.3