Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable LTO #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: enable LTO #64

wants to merge 1 commit into from

Conversation

zamazan4ik
Copy link

Hi!

I started a discussion about enabling Link-Time Optimization (LTO) across all pop!_os projects to improve their general performance (more compiler optimizations can be done with LTO) and the binary size reduction (LTO usually leads to measurable binary size improvements) here - pop-os/pop#3386 . In pop-os/pop#3386 (comment) was proposed creating PRs into repos with enabling LTO - it's such a PR!

As a reference, I used the cosmic-comp Release profile.

According to my tests, enabling lto = "fat" dropped the binary size from 5 Mib to 3.7 Mib.

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