Repository navigation
Guard each bar panel's first open and reopen - #15314
Merged
Merged
Conversation
Contributor
|
Contributor
Author
|
Greptile addressed: absent now only counts from a compositor query that actually answered (failed queries retry as unknown), and the startup wait checks the ping reply instead of the quiet form. Still passes here. |
Panels build content lazily on first open, so time each panel in a scratch shell from IPC open to its surface mapping in the compositor, then close and reopen: first open builds, reopen must stay instant. First opens here: 12-66ms (audio slowest); budgets 400ms first / 150ms reopen before process-speed scaling. Power is timed only where a battery exists, since it hides itself without one.
dhh
force-pushed
the
perf/panel-open-budgets
branch
from
October 14, 2026 01:24
1998ec7 to
7eb48a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Plan §2, bar panels. New
test/shell.d/panel-open-budgets-test.sh: in a scratch shell, each default panel (audio, bluetooth, monitor, network; power whereomarchy-battery-present) is timed from IPC open until the compositor maps its panel surface, then closed and reopened twice. First open pays the lazy content build (#15044); reopen must stay instant because content survives close.Budgets before
SPEED_PERCENTscaling: first 400ms, reopen 150ms. Measured here: first 11-66ms, reopen 8-11ms. Handlers are awaited via a harmless close first, sincelistPluginsreports manifests before IPC handlers register.Verification
From plans/overnight-quality.md §2.