Skip to content

Reduce release package sizes - #413

Merged
YCC3741 merged 1 commit into
codefrom
codex/reduce-release-size
Oct 18, 2026
Merged

YCC3741 merged 1 commit into
codefrom
codex/reduce-release-size

Conversation

@YCC3741

@YCC3741 YCC3741 commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

Reduce release artefact sizes with opt-level = "z", lto = "fat", codegen-units = 1 and strip = "symbols".

Artefact Before After Reduction
Portable EXE 25.74 MiB 14.66 MiB 43.04%
NSIS installer 213.23 MiB 211.23 MiB 0.94%

The installer includes the unchanged WebView2 offline runtime and already compresses application files, so the executable saving has a smaller effect on its total size.

The settings apply to release builds; normal development and debug profiles are unchanged. In the local benchmark, SHA256 verification of a 32 MiB buffer took approximately 37 ms longer per verification.

@YCC3741 YCC3741 self-assigned this Oct 18, 2026
@YCC3741
YCC3741 merged commit 98c6403 into code Oct 18, 2026
4 checks passed
@YCC3741
YCC3741 deleted the codex/reduce-release-size branch October 18, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant