Skip to content

Conversation

@CBenoit
Copy link
Member

@CBenoit CBenoit commented Sep 9, 2025

Size was already optimized in the past by enabling lto and stripping the debug symbols. Adding codegen-units = 1 brings the binary size further down.

  • Jetsocat baseline: 7.3M

  • Jetsocat after: 6.6M

  • Devolutions Gateway baseline: 27M

  • Devolutions Gateway after: 25M

Size was already optimized in the past by enabling lto and stripping the debug symbols.
Adding codegen-units = 1 brings the binary size further down.

- Jetsocat baseline: 7.3M
- Jetsocat after: 6.6M

- Devolutions Gateway baseline: 27M
- Devolutions Gateway after: 25M
@CBenoit CBenoit enabled auto-merge (squash) September 9, 2025 17:34
@CBenoit CBenoit disabled auto-merge September 9, 2025 17:36
@CBenoit CBenoit enabled auto-merge (squash) September 9, 2025 17:36
@CBenoit CBenoit merged commit 8ad7ea0 into master Sep 9, 2025
41 checks passed
@CBenoit CBenoit deleted the build/optimize-binary-size branch September 9, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants