summaryrefslogtreecommitdiff
path: root/tcwg-benchmark-results-compare.sh
blob: 466257e929329e2fa0e955dc01963d18cf14d2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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"

rm -rf results results-ref artifacts artifacts-ref
# Prepare reference results
resultsdest=$resultsref ./tcwg-benchmark-results.sh
mv artifacts artifacts-ref

# Prepare these results
rm -rf results
resultsdest=$resultseval ./tcwg-benchmark-results.sh

bmk-scripts/compare.pl -u time  -f 2:1:3 -D /,/ artifacts-ref/time.csv artifacts/time.csv