WIP: manual plot

This commit is contained in:
Rodrigo Arias 2020-10-14 16:31:14 +02:00
parent 11601703ce
commit 74f83b5c11
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
rsync -a mn1:go/$1 .

View File

@ -0,0 +1,18 @@
#!/bin/sh
for unit in $1/*; do
#echo unit=$unit
bs=$(jq ".blocksize" "$unit/garlic_config.json")
#echo bs=$bs
awk '/^time /{print $2}' > time.$bs $unit/stdout.log
N=$(wc -l "time.$bs" | awk '{print $1}')
#echo N=$N
if [ $N -lt 30 ]; then
echo "too few points ($N) in unit $unit"
#exit 1
fi
done

View File

@ -0,0 +1,17 @@
set terminal png size 800,800
set output 'out.png'
set xrange [16:1024]
set nokey
set logscale x 2
set logscale y 2
set grid
set xlabel "blocksize"
set ylabel "time (s)"
plot 'time.32' using (32):1 with circles title "32", \
'time.64' using (64):1 with circles title "64", \
'time.128' using (128):1 with circles title "128", \
'time.256' using (256):1 with circles title "256", \
'time.512' using (512):1 with circles title "512"