diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-21 13:14:24 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-21 13:14:24 -0400 |
commit | 74d1526226eeb084424ad8bcf333e60c751a6e67 (patch) | |
tree | 29fca5637a69f55a3abf5c0768f419b6a441703c /README.dev | |
parent | 795b15c60fd43e5d393f53926d679fb29c609359 (diff) | |
download | bugseverywhere-74d1526226eeb084424ad8bcf333e60c751a6e67.tar.gz |
Added cProfile notes to README.dev.
Diffstat (limited to 'README.dev')
-rw-r--r-- | README.dev | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -68,3 +68,12 @@ later. In recognition of this, cmdutil provides the default_complete function which ensures that if '--complete' is any one of the arguments, options, or option-arguments, GetCompletions will be raised with and empty list. + +Profiling +========= + +Find out which 20 calls take the most cumulative time (time of +execution + childrens' times). + + $ python -m cProfile -o profile be [command] [args] + $ python -c "import pstats; p=pstats.Stats('profile'); p.sort_stats('cumulative').print_stats(20)" |