Repository navigation
Gui Performance M89
Published documentation mirror. Edit the source through a repository PR. See Project status.
Issue #77. Ubuntu 26.04 AMD64 development workload accepted and merged; full W-05 remains open. This is a repeatable development-capacity workload for the existing desktop, not a production SIEM benchmark or proof of monitoring coverage.
The current SQLite storage policy deliberately caps each development store at 128 records; the IPC event page is capped at eight records. The test-only native Explorer fixture seeds exactly 128 canonical synthetic authentication records using the existing append/index and integrity commitment path. It refuses a nonempty target directory and does not raise storage limits. Half are failures and half successes. The Python integration independently checks all 128 indexed rows and integrity commitments using a read-only connection. A private ordinary-user manager serves the immutable store through existing opt-in, audited IPC. Two separate desktop processes use an isolated configuration root, software Qt Quick rendering, offscreen QPA and Basic controls. They run with Qt scale factors 1.0 and 1.5; the actual window device pixel ratio must match each requested factor. No host configuration is changed. No real LAN or operator data, privileged action, background ingestion or alert access is used.
Per process, twelve cycles navigate through all seven destinations, exercise each of 100%, 125% and 150% text scale, alternate 1600x900 and 700x600 logical-pixel windows, apply a local categorical preset, submit a search and request the next page. The test checks all eight returned IDs against the known ascending unfiltered or descending failure-only order, QML list counts, keyboard inspection and clearing on navigation. The 24 page requests must each complete within the 3-second test deadline (transport policy unchanged). Exactly 48 authorized event requests across the two processes, no rejections, alert authorization or acknowledgement, unchanged SQLite bytes, no saved workspace preferences, clean manager stop and socket cleanup are required. Local presets and repeated record selection must not create extra requests. Each final compact page receives 100 explicit selection updates at a requested 20 ms cadence; actual detail bindings and Qt Quick render-completion signals are checked. Frame sampling is bounded to 512 intervals.
| Metric | Samples | Development gate |
|---|---|---|
| Local navigation including pending GUI event processing | 37 | p95 <= 200 ms |
| Local filter initiation including pending GUI event processing | 12 | p95 <= 200 ms |
| Explicit page exchange including dispatcher wait | 24 | Each within 3 s test deadline; p95 reported separately |
| Actual Qt Quick render completion intervals during local update phase | 60–512 | p95 <= 50 ms |
| Desktop process peak resident set (Linux getrusage, KiB) | One process | <= 1048576 KiB |
Timing uses monotonic clocks; p95 is nearest rank, not interpolation. Rendering uses the actual afterRendering signal and not a timer interval as a substitute; software offscreen completion is not GPU presentation or compositor latency. The harness validates the numeric summary, finite nonnegative timings, sample inventory, actual device pixel ratio, budget and exactly one success marker. Failure diagnostics are fixed stage identifiers and aggregate metrics, not private subprocess output. No retries or relaxed compiler, sanitizer, authorization or storage policy.
knetsentry_gui_performance_runtime is mandatory in the four existing
non-sanitized desktop presets (Release, Debug, Clazy and Analysis), with a
150-second CTest ceiling. The existing core and sanitizer inventories are
unchanged. Existing GUI workspace persistence/recovery, navigation, alert,
notification, investigation, chart and accessibility tests remain mandatory.
The maintained local runner also repeats the new test three times on Release
with numeric output in its private acceptance report, after the existing 60
rendered repetitions and before the remaining builds. Failure stops early.
Expected full runner: 180 successful gates with GUI review, 179 without;
80 structural verifiers and 588 configured CTest executions.
The maintainer's remaining GUI review is visual: ordinary KDE rendering while switching pages, resizing, selecting evidence, changing text scale, restoring workspace preferences, and examining light/dark record contrast. The automated fixture verifies evidence invariance, not human visual usability.
The initial Ubuntu 26.04 run recorded 104 successful gates, four failures and
seven skips. Analysis, Release, Debug and sanitized desktop builds failed on
the same GCC -Werror=shadow diagnostic: the performance request lambda's
control parameter hid the enclosing daemon-control object. Clazy completed
all 91 tests, including the new performance integration (17.98 seconds for
both scale-factor runs and fixture management combined); the two core-only
suites completed 72 and 73 tests respectively. The Clazy result is a passing
bounded workload, not individual timing measurements or a completed Release
benchmark. The log did not expose the successful Clazy numeric samples.
The corrective follow-up renames the request parameter to buttonProperty
and guards that source contract in the existing verifier. It changes neither
production behavior nor the workload, thresholds, warnings-as-errors or
security policy. The local runner stops after a failed Analysis or Release
configuration, build or CTest prerequisite rather than repeating an already
unsuccessful early qualification across the remaining presets. Successful
path inventories remain unchanged. The complete corrected qualification,
including the repeated Release numeric measurements, remains required.
The numerical gates are a bounded development subset of KS-PERF-012, 013 and 019, not acceptance of the full W-05 contract. W-05 requires seven-day-equivalent storage, concurrent W-01 ingestion, five query clients, a live subscribed Qt GUI for 30 minutes, and reference-desktop measurements (BT-08/BT-09). Live telemetry, production-scale storage and subscriptions remain unavailable. No GPU/compositor presentation rate, long-duration memory stability, remote agent performance, full concurrent query throughput or operational-scale security coverage is claimed. See performance requirements, workload profiles and benchmark plan.
Corrected revision: 180 consolidated gates, 588 configured CTests, 80 structural verifiers, nine hosted checks, manual review and merge reported successful. Three repeated Release integrations yielded six desktop measurements at actual DPR 1.0/1.5: navigation p95 70.28–75.33 ms, filter p95 0.18–2.47 ms, query p95 64.22–66.85 ms, render p95 20.44–20.64 ms, 104 intervals each, peak RSS 119108–130840 KiB. These are development workload results, not full W-05.
LIVE5's first full local run exceeded the navigation gate at 201.55 ms (p95, device pixel ratio 1) in the second repeated Release execution. The LIVE5 correction removes unnecessary hidden-component construction and records a bounded trace of the same 37 fixed navigation destinations and elapsed times. The harness checks exact route inventory and agreement with the aggregate p95, and reports per-destination sample counts and maxima without raw child output. No threshold, scale factor, workload or repetition is relaxed. The follow-up requires fresh target-host qualification.
The target Debug run on 2026-12-03 reported navigation p95 269.416 ms (above the unchanged 200 ms requirement); filter, query, frame and RSS measurements were within their existing limits. Other native and sanitized workloads slowed during the same run. This is consistent with host contention but not proof. To control benchmark start conditions, each scale-factor invocation now observes up to 24 half-second scheduler/optional Linux CPU PSI samples, seeking three consecutive samples with scheduler overshoot <=20 ms and available CPU pressure <=15%. The measured desktop process still executes exactly once per scale, even if no quiet window is observed; the preflight cannot turn a failed measurement into a pass. Missing PSI is explicitly reported and scheduler overshoot is still sampled. Host pressure during the workload is reported when available. Timing and security requirements, both scale factors, all 37 navigations, 12 filters, 24 queries and render workload remain unchanged. No process priority, CPU affinity, governor, global configuration, compiler policy, retry or acceptance threshold changes. If the workload still fails on an adequately quiet host, actual GUI profiling/optimization is required rather than further adjustment of the budget.
Source repository · Documentation index · License policy
Documentation mirror — CC-BY-SA-4.0. KnetSentry is not an official KDE project.