diff options
author | jerous <jerous@gmail.com> | 2008-08-24 18:10:22 +0200 |
---|---|---|
committer | jerous <jerous@gmail.com> | 2008-08-24 18:10:22 +0200 |
commit | 24e325482511ec38b8d9348c1c99d672eec5768f (patch) | |
tree | 8cec8631ba498ed378c45fc669b5a144ef564460 /profile_print.py | |
parent | d509faa7eee2b2e2354711006aee89d0468ab940 (diff) |
alternative mpd-client
Diffstat (limited to 'profile_print.py')
-rw-r--r-- | profile_print.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/profile_print.py b/profile_print.py new file mode 100644 index 0000000..9238af6 --- /dev/null +++ b/profile_print.py @@ -0,0 +1,8 @@ +import hotshot.stats + +p=pstats.Stats('profile') + +p.strip_dirs().sort_stats('time') +p.print_stats(30) +#p.print_callers('string') +#p.print_callees('string') |