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

Enable LTO #1627

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Enable LTO #1627

wants to merge 5 commits into from

Conversation

bbannier
Copy link
Member

@bbannier bbannier commented Dec 22, 2023

For a large internal parser the changes in this PR lead to speedups of up to 8-10% when interfaced with Zeek. I am not 100% certain that this is not due to the -flto flags on our object libraries leaking into the zeek binary and making things the parsers interact with faster though.

In general such LTO builds seem to take (much) longer to link.

@bbannier bbannier self-assigned this Dec 22, 2023
@sethhall
Copy link
Member

Have you tried parallelizing the linking (to make it finish faster)?

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.

2 participants