summaryrefslogtreecommitdiff
path: root/tcwg-benchmark-results-compare.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-09-06 15:15:37 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-09-06 15:25:14 +0000
commit72136658e1544cab3143a0ee185ad15b6ec02a7a (patch)
tree168267be1a50b2337834a76afadb93d3ef46c7fb /tcwg-benchmark-results-compare.sh
parenta98bce787ee0fded68a560d995aae32f80de4b01 (diff)
tcwg-benchmark-results-compare.sh: Add support for --peak option.
Change-Id: Ib71586f14e3e74b268e9b3c078bf748597bef6fb
Diffstat (limited to 'tcwg-benchmark-results-compare.sh')
-rwxr-xr-xtcwg-benchmark-results-compare.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tcwg-benchmark-results-compare.sh b/tcwg-benchmark-results-compare.sh
index a879a23c..df86f407 100755
--- a/tcwg-benchmark-results-compare.sh
+++ b/tcwg-benchmark-results-compare.sh
@@ -8,6 +8,10 @@ set -ex
# for empty arguments.
resultsref="$resultsref"
resultseval="$resultseval"
+peak="$peak"
+
+peak_opt=""
+$peak && peak_opt=--peak
results_top="dev-01.tcwglab:/home/tcwg-benchmark/results"
@@ -17,6 +21,6 @@ rsync -az --delete "$results_top-$resultsref/" results-ref/
rsync -az --delete "$results_top-$resultseval/" results-eval/
mkdir artifacts
-perl bmk-scripts/quick-view-spec.pl --ratio results-ref/*/*csv* -- results-eval/*/*csv* > artifacts/time.txt
+perl bmk-scripts/quick-view-spec.pl --ratio ${peak_opt} results-ref/*/*csv* -- results-eval/*/*csv* > artifacts/time.txt
cat artifacts/time.txt