Repository navigation
Guard shell start to a drawn bar - #15310
Conversation
|
Follow-up commit: same scratch-shell isolation the menu guard review required — stay-awake marker (idle service must not screensave/lock the real desktop mid-run) and the |
|
|
Greptile addressed: each sample now resets the scratch home (and recreates the stay-awake marker) before launching, so samples 2-3 are cold starts, not restarts skipping first-login work. Still passes here (151ms class). |
Time three cold Quickshell starts in a scratch home until the compositor maps this shell's bar surface at a real size, fastest wins, scaled to how fast the machine starts processes. 150ms on this machine; budget 750ms before scaling, in line with the theme and menu guard budgets' headroom.
8a590b4 to
6452fbb
Compare
What
Plan §2, shell start to a drawn bar. New
test/shell.d/bar-startup-budget-test.sh: three cold Quickshell starts in a scratch home, timing until the compositor maps that shell's bar surface at a real size (hyprctl -j layers, namespaceomarchy-bar, own pid). Fastest wins; budget 750ms beforeSPEED_PERCENTscaling, following the theme/menu guard style (measured 151ms here). It certifies the bar surface mapped, not a presented frame or settled widget content —debugBarGeometryonly fills in long after the bar is on screen, so it is not the signal.Scratch shell is isolated like the idle-spawn test:
pkill/killalland power-profile commands stubbed, full checkout (shell/config/bin/default) linked.Verification
ok - shell start reaches a drawn bar within 750ms (151ms), no leaked test shells or watchers after.From plans/overnight-quality.md §2.