canonical / mir-ci

Mir CI helpers
1 stars 1 forks source link

Add CPU load benchmarks #52

Open Saviq opened 9 months ago

Saviq commented 9 months ago

Together with total CPU use, average CPU load could be another interesting metric. Cgroupv2 seems to give "pressure" information [1], which could be of use:

[1] https://www.kernel.org/doc/html/latest/accounting/psi.html#psi

Another way to do this would be to calculate µseconds over runtime, which pytest already stores.