Re: pkgorder slow

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

 



On Tue, Jun 01, 2004 at 11:47:44AM -0400, Matthew Miller wrote:
> On Tue, Jun 01, 2004 at 11:15:10AM -0400, Brian Long wrote:
> > Thanks, I'm not much of a python programmer.  How could I enable
> > profile.py in pkgorder so I can test against my repository?
> 
> Oh, hey, I meant that to go to the whole list. I'll attach it to this
> message again.
> 
> Anyway, I'm not a hardcore python programmer either. I just ran
> 
> /usr/lib/python2.3/profile.py /usr/lib/anaconda-runtime/pkgorder [...]

I imagine a lot of time is spent in rpmlib which probably won't show up in the profiler.

Try having PKGORDER_DEBUG=yes in your environment and that turns on rpmlib
debugging.

rpmlib and rpm-python does have an issue when dealing with certain setups -
multiple kernel packages triggers this in yum.  I'll add benchmarking this to
my rpm python TODO.

Paul



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux