diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-09-12 09:31:05 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-09-12 09:38:25 +0000 |
commit | 340eb5b2c94b6b2e5705ef291db859bbf99c3522 (patch) | |
tree | 607763dca3e5c53c9725496c043bee416746774d /tcwg-benchmark-results.sh | |
parent | 54c70b206488f1babc15802b3216775144cf3f86 (diff) |
tcwg-benchmark-results.sh: Allow comparison of several runs
... by putting results to bash array ${results[@]}.
Change-Id: I8e189f6f14578e8a96a33c0beb2dc8ae13ca2ef2
Diffstat (limited to 'tcwg-benchmark-results.sh')
-rwxr-xr-x | tcwg-benchmark-results.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tcwg-benchmark-results.sh b/tcwg-benchmark-results.sh index 89eb23d4..7cd57aba 100755 --- a/tcwg-benchmark-results.sh +++ b/tcwg-benchmark-results.sh @@ -9,12 +9,11 @@ scripts=$(dirname $0) convert_args_to_variables "$@" -obligatory_variables results_id results_ref +obligatory_variables results top_artifacts="${top_artifacts-artifacts}" verbose="${verbose-false}" num_entries_opt="${num_dsos+--num-dsos $num_dsos} ${num_symbols+--num-symbols $num_symbols}" -relative="${relative-true}" verbose_opt="" if $verbose; then @@ -23,15 +22,18 @@ if $verbose; then fi relative_opt="" -if $relative; then +if [ x"${results_ref+set}" = x"set" ]; then relative_opt="--relative" + results=("$results_ref" "${results[@]}") + num=0 +else + num=1 fi results_top="bkp-01.tcwglab:/home/tcwg-benchmark/results" -num=0 csvs="" -for i in $results_ref $results_id; do +for i in "${results[@]}"; do rsync -az --delete "$results_top-$i/" results-$num/ $scripts/../bmk-scripts/perfdatadir2csv.sh \ --buildid-dir local --format sample,size --sort-field sample \ |