[Yum-devel] fun little performance problem

seth vidal skvidal at phy.duke.edu
Wed Mar 16 22:37:10 UTC 2005


On Wed, 2005-03-16 at 16:27 -0500, seth vidal wrote:
> Try out repoclosure.py with the sqlite backend and compare it to the
> non-sqlite metadata.
> 
> tell me if you notice anything? :)
> 
> the sqlite searchPrco() method is significantly slower than the pickle-
> cache one. I'm going to take a few looks and see if there is an obvious
> way to speed this up. other suggestions welcome :)
> 

I'm wrong, it's not searchPrco() it looks like it is in getPrco where
things slow down a bit.

ideas on why we're querying ALL The prco information for each request.
Why not getPrco(self, pkgId, prcotype)?

-sv





More information about the Yum-devel mailing list