Skip to contentSkip to conversation

build-perf-test: add eSDK installed size to metrics

PATCH New Ross Burton 1 participant 1 message Apr 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-perf-test: add eSDK installed size to metrics

---
 scripts/contrib/build-perf-test.sh | 4 ++++
 1 file changed, 4 insertions(+)
scripts/contrib/build-perf-test.sh +4 -0
index f1f44d3..7d99228 100755
@@ -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"
Signature · 1 line
2.7.0