[Yum-devel] [PATCH] Profiling yum

Florian Festi ffesti at redhat.com
Thu Dec 13 12:56:54 UTC 2007


Hi!

The attached patch adds profiling to yummain.py. It's not that beautiful as 
it replaces all kind of system.exit() calls by returns. I don't like all 
these exit calls. But if anyone really likes them we can just catch the 
SystemExit exceptions...

I'd also like to add command line switch to enable profiling. May be 
--profile=(main|main-hot|depsolve|depsolve-hot|...)

Comments?

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-profiling-for-yum-as-a-whole.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071213/fb335d47/attachment.bin 


More information about the Yum-devel mailing list