diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-12 11:37:43 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-12 11:40:40 +0000 |
commit | d5130b3f884f2216781d333ad439e46c5e0e7799 (patch) | |
tree | 17447eaacc5c60d99b6365338c568719a2c51532 /tcwg-benchmark-results-compare.sh | |
parent | 89c3125997ee6e2e902d4e4232938bb9e9ac953d (diff) |
tcwg-benchmark-results-compare.sh: Remove dependency on tcwg-benchmark-results.sh.
Call bmk-scripts/perfdatadir2csv.sh and bmk-scripts/compare.pl
to format the reference and eval results, and compare them.
Change-Id: Ic202bd2579852a6020e7255e65fce041fae67b0d
Diffstat (limited to 'tcwg-benchmark-results-compare.sh')
-rwxr-xr-x | tcwg-benchmark-results-compare.sh | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/tcwg-benchmark-results-compare.sh b/tcwg-benchmark-results-compare.sh index 466257e9..cd7c0938 100755 --- a/tcwg-benchmark-results-compare.sh +++ b/tcwg-benchmark-results-compare.sh @@ -9,13 +9,20 @@ set -ex resultsref="$resultsref" resultseval="$resultseval" -rm -rf results results-ref artifacts artifacts-ref -# Prepare reference results -resultsdest=$resultsref ./tcwg-benchmark-results.sh -mv artifacts artifacts-ref +results_top="dev-01.tcwglab:/home/tcwg-benchmark/results" -# Prepare these results -rm -rf results -resultsdest=$resultseval ./tcwg-benchmark-results.sh +rm -rf results-eval results-ref artifacts -bmk-scripts/compare.pl -u time -f 2:1:3 -D /,/ artifacts-ref/time.csv artifacts/time.csv +rsync -az --delete "$results_top-$resultsref/" results-ref/ +rsync -az --delete "$results_top-$resultseval/" results-eval/ + +for i in results-ref results-eval +do + bmk-scripts/perfdatadir2csv.sh --buildid-dir local -t --num 0 --format sample --results-dir "$i/" > "time-$i.csv" + bmk-scripts/perfdatadir2csv.sh --buildid-dir local --results-dir "$i/" > "sample-$i.csv" +done + +mkdir artifacts +bmk-scripts/compare.pl -u time -f 2:1:3 -D /,/ time-results-ref.csv time-results-eval.csv > artifacts/time.txt + +cat artifacts/time.txt |