summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-29 14:48:02 -0400
committerGitHub <noreply@github.com>2022-03-29 14:48:02 -0400
commitc319edaaf8013d8397c5847a761f53e68536635a (patch)
tree76f7123a4d06663515d59241e7aff4fa46ebbedb
parent3990f9c51e909a4e72c878d8256ea2c0370f15f0 (diff)
parentc602084a5c72be71ed8a8dc9cf9558bc08e4c911 (diff)
downloadpodman-c319edaaf8013d8397c5847a761f53e68536635a.tar.gz
podman-c319edaaf8013d8397c5847a761f53e68536635a.tar.bz2
podman-c319edaaf8013d8397c5847a761f53e68536635a.zip
Merge pull request #13693 from edsantiago/show_size
size-check: display binary size and growth
-rwxr-xr-xhack/make-and-check-size2
1 files changed, 2 insertions, 0 deletions
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