packaging/perftest/unipi/plot.sh: Title is now different from FS name + added informative y-label
This commit is contained in:
parent
2ffbf66053
commit
3f8bfb9fa8
1 changed files with 4 additions and 3 deletions
|
@ -89,7 +89,8 @@ while read -r UUID; do
|
||||||
done < <(get_jobs_build-uuids)
|
done < <(get_jobs_build-uuids)
|
||||||
|
|
||||||
PLOT_VERSION=1
|
PLOT_VERSION=1
|
||||||
PLOT_NAME="Throughput for 30 concurrent threads"
|
PLOT_NAME="throughput"
|
||||||
|
PLOT_TITLE="Throughput for 30 concurrent threads"
|
||||||
OUT_DIR="${CACHE_DIR}/perftest/${JOB}/${PLOT_NAME}_${PLOT_VERSION}"
|
OUT_DIR="${CACHE_DIR}/perftest/${JOB}/${PLOT_NAME}_${PLOT_VERSION}"
|
||||||
if [ ! -e "$OUT_DIR" ]; then
|
if [ ! -e "$OUT_DIR" ]; then
|
||||||
mkdir -p "$OUT_DIR"
|
mkdir -p "$OUT_DIR"
|
||||||
|
@ -100,11 +101,11 @@ info generating plot: "$OUT_IMG"
|
||||||
gnuplot >"$OUT_IMG" <<EOF
|
gnuplot >"$OUT_IMG" <<EOF
|
||||||
set terminal png size $DIMS background rgb "gray40"
|
set terminal png size $DIMS background rgb "gray40"
|
||||||
set output '$OUT_IMG'
|
set output '$OUT_IMG'
|
||||||
set title '$PLOT_NAME'
|
set title '$PLOT_TITLE'
|
||||||
set style data histograms
|
set style data histograms
|
||||||
set style histogram clustered gap 2
|
set style histogram clustered gap 2
|
||||||
set style fill solid 1.0 border lt -1
|
set style fill solid 1.0 border lt -1
|
||||||
set ylabel "Throughput"
|
set ylabel "Avg. bytes/sec"
|
||||||
plot '$DAT' using 3:xtic(1)
|
plot '$DAT' using 3:xtic(1)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue