diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-17 11:57:30 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-17 11:57:30 +0200 |
| commit | ffd6b594724d7aadd2cd08782485ece9a2aa5331 (patch) | |
| tree | 872b3930239eb9229cd9738ca13fb12be67ae842 /desktop/modules/perf/README.md | |
| parent | f73b88072b7abad720923dd32bae6a1e98bf64d5 (diff) | |
| download | quickshell-ffd6b594724d7aadd2cd08782485ece9a2aa5331.tar.gz quickshell-ffd6b594724d7aadd2cd08782485ece9a2aa5331.zip | |
perf: sample everything always, not only while the page is open
Per-core load, the network rate, VRAM and the fan used to run only while
a PerfPanel existed, and closing the page cleared them. Opening the
drawer therefore always showed a fresh first sample and an empty network
graph, which made the page not very useful as a glance at what just
happened. Everything now samples for the whole session, so the graph
opens on the last minute of history.
The cost is the VRAM fdinfo scan, ~14ms every 2s, now unconditional; a
ponytail note beside it says to gate it on the panel again if that shows
up. The LAN address and the public IP check run once at startup instead
of on each page open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/perf/README.md')
| -rw-r--r-- | desktop/modules/perf/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/modules/perf/README.md b/desktop/modules/perf/README.md index dea5a7e..bd9ebfb 100644 --- a/desktop/modules/perf/README.md +++ b/desktop/modules/perf/README.md @@ -26,9 +26,9 @@ into the LAN depends on the ISP's fixed address. The fetch is `~/.cache/udt/pubip.txt`, the file conky's sampler used. A failed fetch is never a mismatch: the old value goes stale after 4 hours and shows as a dash. -CPU, RAM, temperatures and disks are sampled always. Per-core load, the -network rate, VRAM (a scan of every fdinfo, ~14ms) and the fan run only while -the page is open. The mount list, `br0`, the GPU name and the 12 GiB VRAM +Everything is sampled always, including per-core load, the network rate, +VRAM (a scan of every fdinfo, ~14ms every 2s) and the fan, so the page opens +on the last minute of network history instead of an empty graph. The mount list, `br0`, the GPU name and the 12 GiB VRAM size are constants in `Perf.qml`. The cache card runs `du -B1 -d1` once each time the page opens, 28ms over |
