URL:
<http://savannah.nongnu.org/bugs/?30755>
Summary: synaptic slow: description search, first install,
sub view change
Project: Synaptic
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
Discussion Lock: Any
_______________________________________________________
Details:
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)
Gain:
-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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 12 Aug 2010 01:21:24 AM UTC Name: path.diff Size: 14kB By: None
<http://savannah.nongnu.org/bugs/download.php?file_id=21200>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30755>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Synaptic-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/synaptic-devel