blob: f645025420bfb84b60d936a795befbc69cb557b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
# Clean: shellcheck -e 2001 ./tcwg-benchmark-results-compare.sh
set -ex
# Make shellcheck happy and workaround Jenkins not defining variables
# for empty arguments.
resultsref="$resultsref"
resultseval="$resultseval"
peak="$peak"
peak_opt=""
$peak && peak_opt=--peak
results_top="bkp-01.tcwglab:/home/tcwg-benchmark/results"
rm -rf results-eval results-ref artifacts
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 --timeratio ${peak_opt} results-ref/*/*csv* -- results-eval/*/*csv* > artifacts/time.txt
perl bmk-scripts/quick-view-spec.pl --scoreratio ${peak_opt} results-ref/*/*csv* -- results-eval/*/*csv* > artifacts/score.txt
cat artifacts/time.txt
|