From 57040305dea7e2167adb47c136a7b85f09ee7d24 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 6 Apr 2016 16:59:03 +0100 Subject: build-perf-test: add eSDK installed size to metrics Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/contrib/build-perf-test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh index f1f44d3297..7d99228c73 100755 --- a/scripts/contrib/build-perf-test.sh +++ b/scripts/contrib/build-perf-test.sh @@ -369,6 +369,10 @@ test4 () { do_sync time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy" + + s=$((`du -sb "tmp/esdk-deploy" | cut -f1` / 1024)) + SIZES[(( size_count++ ))]="$s" + log "Install SIZE of eSDK is: $s kB" else log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0." SIZES[(( size_count++ ))]="0" -- cgit 1.2.3-korg