Repository navigation
Reduce startup overhead and benchmark native single-file launches - #59
Merged
Merged
Conversation
3 tasks
This was referenced Oct 26, 2026
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.
Opening Home waited up to 300 ms for an absent background host, and even a bare version probe initialized the terminal and full command registry. Home now probes an immediately available connection without waiting for host startup; normal host lifecycle calls retain their waits. Installation/update startup probes use the full parser path (
--version --no-interactive) so the fast version shortcut does not weaken replacement/rollback verification. Bare--version/-vuse a minimal bootstrap, while combined flags retain normal CLI parsing.Nine-pair local Linux measurements reduce warm Home from 465 to 188 ms and version from 134 to 29 ms. State preview remains within noise. The executable stays 76.6 MB; a measured bundle-compression experiment shrank it to 40.6 MB but added startup cost and slightly increased gzip size, so compression remains disabled. This Linux .NET 10 build extracted no native files for the measured commands; the report avoids generalizing that result to Windows/macOS.
Add a reproducible isolated-cache/PTY benchmark, raw measurements and a native Windows/Linux/macOS before/after workflow with a conservative regression budget. Extend CLI version/quiet equivalence and PTY missing/running-host coverage. Local validation: 138 .NET tests, ten tooling tests, CLI and PTY smoke, documentation checks pass. Native before/after benchmark jobs pass on Windows/Linux/macOS. Functional native builds/tests, install/PATH/update/rollback smoke, Quality and Security also pass on the final commit.
Part of #25; keep it open for actual Windows console/ConPTY Home measurements. Size reduction/AOT/trimming compatibility and deeper runtime profiling remain #26.