diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-13 11:30:07 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-13 11:30:07 +0200 |
| commit | 6849707c43bb8b87f9913fc26b6a69d51777d209 (patch) | |
| tree | fdf165dd2da7783bf4cadd6fc78e72ef32e69dbe /desktop/island/perf/PerfPanel.qml | |
| parent | 2bec673df8ebcb756ec9b605dd7942018a32fdcb (diff) | |
| download | quickshell-6849707c43bb8b87f9913fc26b6a69d51777d209.tar.gz quickshell-6849707c43bb8b87f9913fc26b6a69d51777d209.zip | |
fix(perf): review findings in the service and the panel
- The panel loads only while open. Its models are fresh arrays every
sample, so a hidden instance rebuilt its rows every 2s for the whole
session.
- The public IP fetch never kills one already running, and waits 30
minutes from the last attempt, not the last success: a rate-limited
or offline fetch was retried every minute.
- curl -4, so an IPv6 answer cannot silently stall the VPN check.
- CPU load sums only the first eight /proc/stat fields. guest and
guest_nice are already inside user and nice, and counting them again
read high while VMs ran.
- df gets timeout -k; the VRAM scan is not restarted over itself.
- The GPU name joins the host constants in Perf.qml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/island/perf/PerfPanel.qml')
| -rw-r--r-- | desktop/island/perf/PerfPanel.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/island/perf/PerfPanel.qml b/desktop/island/perf/PerfPanel.qml index 5d3f6ff..5aad9b6 100644 --- a/desktop/island/perf/PerfPanel.qml +++ b/desktop/island/perf/PerfPanel.qml @@ -102,7 +102,6 @@ GridLayout { color: Qt.alpha(Theme.surface, 0.6) implicitHeight: body.implicitHeight + 20 Layout.fillHeight: true - Layout.alignment: Qt.AlignTop Column { id: body @@ -200,7 +199,7 @@ GridLayout { Layout.row: 0 Layout.column: 1 Layout.preferredWidth: panel.col - title: "GPU · ARC B580" + title: "GPU · " + Perf.gpuName headline: panel.deg(panel.gpuTemp.value) headlineColor: panel.tone(panel.gpuTemp.value, panel.gpuTemp.warn, panel.gpuTemp.crit) |
