From 7fd9983c568d447d66d41c3132d3800e895f3f5a Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 26 May 2006 10:29:40 +0000 Subject: - patch from Tito to pretty print the overall delta --- scripts/bloat-o-meter | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index ce59fc2..e7e16b5 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter @@ -57,3 +57,7 @@ print "add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \ print "%-40s %7s %7s %+7s" % ("function", "old", "new", "delta") for d, n in delta: if d: print "%-40s %7s %7s %+7d" % (n, old.get(n,"-"), new.get(n,"-"), d) +print "----------------------------------------------------------------" +s=")" +if (up-down)>=0: s="(" +print "Result :-%s%+7d" % (s, up-down) -- cgit v1.1