<<
path:
root/public/blog.git/html/bench/plot_metrics.gp
blob: edd25d153d00aaed5b1e1e9760a71307a38f73c3
[raw]
[clear marker]
2set datafile separator ","
3set key autotitle columnhead
5stats file using 1 nooutput
8set terminal pngcairo size 1200,800 enhanced font "Sans,10"
10set multiplot layout 3,1 title "Process Resource Usage" font "Sans,12"
12set xtics rotate by -30
16plot file using ($1-t0):2 with lines lw 2 lc rgb "#e74c3c" title "CPU %"
20plot file using ($1-t0):3 with lines lw 2 lc rgb "#3498db" title "RAM (MB)"
23set xlabel "Time (seconds)"
25plot file using ($1-t0):4 with lines lw 2 lc rgb "#2ecc71" title "Open FDs"