Logo

index : blog

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/blog.git/html/bench/plot_metrics.gp blob: edd25d153d00aaed5b1e1e9760a71307a38f73c3 [raw] [clear marker]

        
0
1
2set datafile separator ","
3set key autotitle columnhead
4
5stats file using 1 nooutput
6t0 = STATS_min
7
8set terminal pngcairo size 1200,800 enhanced font "Sans,10"
9
10set multiplot layout 3,1 title "Process Resource Usage" font "Sans,12"
11set grid
12set xtics rotate by -30
13
14set ylabel "CPU %"
15set yrange [0:*]
16plot file using ($1-t0):2 with lines lw 2 lc rgb "#e74c3c" title "CPU %"
17
18set ylabel "RAM (MB)"
19set yrange [0:*]
20plot file using ($1-t0):3 with lines lw 2 lc rgb "#3498db" title "RAM (MB)"
21
22set ylabel "Open FDs"
23set xlabel "Time (seconds)"
24set yrange [0:*]
25plot file using ($1-t0):4 with lines lw 2 lc rgb "#2ecc71" title "Open FDs"
26
27unset multiplot
28
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit