Repository navigation
Conversation
scripts\bench.ps1 -Sweep builds the checkout and runs its nightly wisp.exe with its own APPDATA and hide_taskbar on. It goes through every launcher position x autohide x app icon size x gap, the themes and backdrops, values Wisp must clamp or ignore, and each screen. For each it checks the dock's height and gap, the space kept for it, that a maximized window stays above it and that Explorer's taskbar stays hidden, and takes a screenshot. It writes a summary and a zip for the pull request, and exits 1 when a check fails or the user's config changed. CONTRIBUTING.md's performance steps now use bench.ps1 -Perf and -Sweep, and the pull request template asks for their summaries. Part of SumirSeth#44. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 changed
The second pull request for #44:
scripts\bench.ps1 -Sweep, and the docs for both modes.-Sweepbuilds your checkout and runs its nightlywisp.exewith its ownAPPDATAandhide_taskbar = true. It goes through 58 configs:dock_screen = "pointer".Each config is applied the way Settings applies it, by reloading, without restarting Wisp. For each it checks:
With autohide it moves the pointer away and back to check that the dock hides and shows. It also takes a screenshot of the dock.
It writes
target\bench\sweep\summary.mdto paste, andsweep.zipwith the screenshots and every measurement. It exits with 1 when a check fails or your config changed.It prints what it will do and asks first (
-Yesskips that). Your Wisp is quit and started again at the end, and your config is checked byte for byte afterwards.CONTRIBUTING.md's Performance section now starts withbench.ps1 -Perfand-Sweep. The template's Performance line asks for their summaries.The sweep lives in
scripts\bench-sweep.ps1, whichbench.ps1dot-sources, sobench.ps1stays readable.Build-Treemoved up so both modes share it.Why
So a change to the dock or launcher gets checked in every setting, not just the one the contributor uses (#44). It already paid off: its first run found the stale dock picture fixed in #141. On
mainback then, 20 of 58 configs failed (every centered config and both dock-off ones), and 58 of 58 passed with the fix.How I verified it
Windows 11 Pro build 26300, two screens side by side (2560×1440 at 125% as the main screen, 1920×1080 at 100%), PowerShell 7. This branch is rebased on 0.9.1 (
499528c).Summary
mainfailed 18 centered configs ("one dock": the old dock stayed on the launcher's window) and both dock-off configs. A check that fails makes the script exit with 1.cargo fmt --all --check, both clippy runs andcargo test --workspacepass. Nothing insrcchanged.Performance
Not affected: scripts and docs only.
Not tested
dock_edgefrom Feat/configurable dock edge #142. Once that's merged, the sweep should get left and right too.Fixes #44.
Unreleased, or this has nothing users notice.🤖 Generated with Claude Code