1
0
Fork 0

add WIP state

This commit is contained in:
Oliver Ladner 2024-02-19 13:45:34 +01:00
commit 0b339c47a2
4 changed files with 61 additions and 0 deletions

21
plot_ttfb.sh Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
for file in $(ls -1 example*\.gnuplot); do
gnuplot <<- EOF
set terminal png size 1280,500
set size 1, 1
set output "$file\_ttfb.png"
set title "$file"
set key left top
set grid y
set xdata time
set timefmt "%s"
set format x "%H:%M:%S"
set xlabel 'time'
set ylabel "response time (ms)"
set yrange [0:10000]
set datafile separator '\t'
plot "$file" every ::2 using 2:6 title 'response time (TTFB)' with points
exit
EOF
done