From c602084a5c72be71ed8a8dc9cf9558bc08e4c911 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 29 Mar 2022 07:54:26 -0600 Subject: size-check: display binary size and growth This won't actually be seen except by someone who takes the time to clickety-click into Cirrus - but that's better than not showing it at all. Signed-off-by: Ed Santiago --- hack/make-and-check-size | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/make-and-check-size b/hack/make-and-check-size index 71b382b44..f2345b815 100755 --- a/hack/make-and-check-size +++ b/hack/make-and-check-size @@ -109,6 +109,7 @@ for bin in bin/*;do size_orig=$(< $saved_size_file) delta_size=$(( size - size_orig )) + printf "%-20s size=%9d delta=%6d\n" $bin $size $delta_size if [[ $delta_size -gt $MAX_BIN_GROWTH ]]; then separator=$(printf "%.0s*" {1..75}) # row of stars, for highlight echo "$separator" @@ -129,5 +130,6 @@ for bin in bin/*;do else # First time through: preserve original file size echo $size >$saved_size_file + printf "%-20s size=%9d\n" $bin $size fi done -- cgit v1.2.3-54-g00ecf