Commit Graph

13 Commits

Author SHA1 Message Date
Augie Fackler
7c6e3bd922 lsprof: use getattr instead of hasattr 2011-07-25 15:41:46 -05:00
Martin Geisler
534ae9133c lsprof: remove #!-line from non-executable script
It triggered an rpmlint error, reported by Neal Becker.
2010-10-25 23:46:26 +02:00
Benoit Boissinot
4371f512b2 fix spaces/identation issues 2010-02-05 18:50:08 +01:00
Dirkjan Ochtman
8bd1e15bc5 merge with crew-stable 2009-08-05 17:21:29 +02:00
Dirkjan Ochtman
27d1598185 lsprof: make profile not die when imported modules changes (issue1774) 2009-08-05 14:58:30 +02:00
Alejandro Santos
1ef2fb42a7 compat: use 'key' argument instead of 'cmp' when sorting a list 2009-07-05 11:02:00 +02:00
Peter Arrenbrecht
19591b6a8c cleanup: drop unused assignments 2009-03-23 13:13:06 +01:00
Dirkjan Ochtman
574603a8c0 use dict.iteritems() rather than dict.items()
This should be faster and more future-proof. Calls where the result is to be
sorted using util.sort() have been left unchanged. Calls to .items() on
configparser objects have been left as-is, too.
2009-01-12 09:16:03 +01:00
Peter Ruibal
30a2036f9e use Exception(args)-style raising consistently (py3k compatibility) 2008-09-08 13:07:00 +02:00
Joel Rosdahl
4f8012378a Remove unused imports 2008-03-06 22:23:41 +01:00
Dirkjan Ochtman
ac2a5adcee updating lsprof.py from remote repository 2008-02-01 10:31:09 +01:00
Vadim Gelfer
fc206d2a40 do not try to package lsprof if not available. 2006-06-23 19:20:22 -07:00
Vadim Gelfer
8861256257 add --lsprof option. 3x faster than --profile, more useful output.
results include calls to c code and nested calls.

requires python 2.5 or lsprof installed from svn at
http://codespeak.net/svn/user/arigo/hack/misc/lsprof/
2006-06-09 12:05:17 -07:00