- patch from Tito to pretty print the overall delta
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 May 2006 10:29:40 +0000 (10:29 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 May 2006 10:29:40 +0000 (10:29 -0000)
scripts/bloat-o-meter

index ce59fc2..e7e16b5 100755 (executable)
@@ -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)