Hi!
Can someone apply the attached patch, please. It extends the profiling
output to 40 entries and adds a list sorted by cumulative time per function.
Thanks
Florian
? yum-extended_profile.diff
Index: depsolve.py
===================================================================
RCS file: /cvsroot/yum/cvs/yum/yum/depsolve.py,v
retrieving revision 1.163
diff -u -r1.163 depsolve.py
--- depsolve.py 24 Apr 2007 21:02:50 -0000 1.163
+++ depsolve.py 26 Apr 2007 08:02:30 -0000
@@ -730,7 +730,9 @@
stats = hotshot.stats.load(fn)
stats.strip_dirs()
stats.sort_stats('time', 'calls')
- stats.print_stats(20)
+ stats.print_stats(40)
+ stats.sort_stats('cumulative')
+ stats.print_stats(40)
return rc
def cprof_resolveDeps(self):
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel