summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-26 10:29:40 +0000
committerBernhard Reutner-Fischer2006-05-26 10:29:40 +0000
commit7fd9983c568d447d66d41c3132d3800e895f3f5a (patch)
tree7a060192044d3ab9cd71166e106a717eb439b295
parent314c739b07ea860519cabcdffea73db2b0c3a07a (diff)
downloadbusybox-7fd9983c568d447d66d41c3132d3800e895f3f5a.zip
busybox-7fd9983c568d447d66d41c3132d3800e895f3f5a.tar.gz
- patch from Tito to pretty print the overall delta
-rwxr-xr-xscripts/bloat-o-meter4
1 files changed, 4 insertions, 0 deletions
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)