diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-15 20:03:46 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-15 20:03:46 +0000 |
commit | 127e5a48e7b64b5aa7c01b4ccfcc6852f31c2b20 (patch) | |
tree | 94a60eb3e0b5fdbe490b2d67e81a35b2fa04c0ed /rdiff-backup/rdiff_backup/profiled_rdb.py | |
parent | d2943df4a4eb71162dfd3939e0c668a83d85ee4e (diff) | |
download | rdiff-backup-127e5a48e7b64b5aa7c01b4ccfcc6852f31c2b20.tar.gz |
Various CPU optimizations
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@126 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/profiled_rdb.py')
-rwxr-xr-x | rdiff-backup/rdiff_backup/profiled_rdb.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff_backup/profiled_rdb.py b/rdiff-backup/rdiff_backup/profiled_rdb.py index 91810c2..a2f30ea 100755 --- a/rdiff-backup/rdiff_backup/profiled_rdb.py +++ b/rdiff-backup/rdiff_backup/profiled_rdb.py @@ -13,8 +13,7 @@ import profile, pstats profile.run("Globals.Main.Main(%s)" % repr(sys.argv[1:]), "profile-output") p = pstats.Stats("profile-output") p.sort_stats('time') -p.print_stats(20) -p.sort_stats('cumulative') -p.print_stats(20) +p.print_stats(40) +#p.print_callers(20) |