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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich 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)

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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 16 Sep 2010 12:55:58 PM UTCmvogtAttached File-=>Added pathlong.diff, #21472
    Thu 12 Aug 2010 01:21:24 AM UTCNoneAttached File-=>Added path.diff, #21200

    Back to the top


    Powered by Savane 3.1-cleanup