Re: [PATCH] simplePkgList performance

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

 



On Sun, 2007-05-06 at 22:28 +0100, Charlie Brej wrote:
> I was doing some profiling runs of yum, pirut and pup and noticed that 
> simplePkgList consumes a lot of time because when self.pkglist is tested 
> for being already populated, an empty list is considered as false. In my 
> case the "development-source" repo was empty so the simplePkgList 
> rebuilt the list instead of using the cache every time __len__ was called.
> 
> Yum update (185 packages not to up date but quit before install)
> from:   0m56.804s
> to:     0m24.573s
> 
> Pirut load time:
> from:   0m20.915s
> to:     0m4.576s

Charlie,
 Thanks - I've committed your patch. Good thing to notice.

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux