From: Bernhard Reutner-Fischer Date: Fri, 26 May 2006 10:29:40 +0000 (-0000) Subject: - patch from Tito to pretty print the overall delta X-Git-Tag: 1_2_0~306 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7fd9983c568d447d66d41c3132d3800e895f3f5a;p=oweals%2Fbusybox.git - patch from Tito to pretty print the overall delta --- diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index ce59fc2d8..e7e16b521 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)