Speed up BoxedWine application startup - #135
Draft
astrovm wants to merge 1 commit into
Draft
Conversation
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
Measured startup improvement
Production builds of merged
mainand this PR ran on the same machine and in the same in-app Chromium session, on separate local origins. Each measurement starts at navigation and ends when BoxedWine logsShowing Window. Warm samples use independent tabs with browser assets already cached.mainThe local benchmark isolates initialization, decompression, compilation, and launch behavior. It does not predict internet transfer time. The shared archive is also 11.6% smaller, and the device-aware preload removes most runtime transfer from the user-triggered launch when it completes first.
Impact
The shared production filesystem is 43.6 MB instead of 49.3 MB. Startup work now overlaps, temporary per-app files avoid persistent-storage synchronization, and repeated app launches can use the browser cache. Calculator, FreeCell, Solitaire, and Spider Solitaire all use the same runtime path and shared root.
Validation