From c38907c85bbb62a2b3bb00dd05eeb588ecc6845d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 14 Jul 2009 14:34:40 -0400 Subject: Updated README to match current status. Mostly updated the list of supported VCSs. Also corrected spacing inconsistency in README.dev. --- README.dev | 1 + 1 file changed, 1 insertion(+) (limited to 'README.dev') diff --git a/README.dev b/README.dev index 644d965..716ce28 100644 --- a/README.dev +++ b/README.dev @@ -31,6 +31,7 @@ consistent interface Again, you can just browse around in becommands to get a feel for things. + Testing ------- -- cgit From 74d1526226eeb084424ad8bcf333e60c751a6e67 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 21 Jul 2009 13:14:24 -0400 Subject: Added cProfile notes to README.dev. --- README.dev | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.dev') diff --git a/README.dev b/README.dev index 716ce28..ddc3a88 100644 --- a/README.dev +++ b/README.dev @@ -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)" -- cgit