synaptic-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Synaptic-devel] [bug #30755] synaptic slow: description search, first


From: anonymous
Subject: [Synaptic-devel] [bug #30755] synaptic slow: description search, first install, sub view change
Date: Thu, 12 Aug 2010 01:21:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]