This is mainly so I remember myself, but it's also a useful FYI.

 After the commits tonight the breakdown of a small yum list output[1]
is roughly (on my machine):

40% - YumBaseCli.getOptionsConfig()
      75% of which is YumBase.getReposFromConfig()
      which I _think_ means python-iniparse needs to get faster

35% - RPMDBPackageSack.returnPackages()

...with a total running time of about a second.
 Also a small yum search is basically the same except with the perp.
being RPMDBPackageSack.searchPrimaryFieldsMultipleStrings() on the rpm
side.

 On the downside, that means we'll probably need to make rpm and/or
python-iniparse faster to gain any more speed :).


[1] yum list yum\* etc.

-- 
James Antill <[EMAIL PROTECTED]>
Red Hat

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to