diff options
author | Bernhard Reutner-Fischer | 2006-05-26 10:29:40 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-26 10:29:40 +0000 |
commit | 7fd9983c568d447d66d41c3132d3800e895f3f5a (patch) | |
tree | 7a060192044d3ab9cd71166e106a717eb439b295 /scripts | |
parent | 314c739b07ea860519cabcdffea73db2b0c3a07a (diff) | |
download | busybox-7fd9983c568d447d66d41c3132d3800e895f3f5a.zip busybox-7fd9983c568d447d66d41c3132d3800e895f3f5a.tar.gz |
- patch from Tito to pretty print the overall delta
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bloat-o-meter | 4 |
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) |