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

Improve release build link time by disabling LTO, codegen-units = 1, opt-level = 'z' #10039

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

ry
Copy link
Member

@ry ry commented Apr 6, 2021

incremental build (release) full build (release) binary size (release)
main 4m 21s 6m 24s 72M
#10039 1m 45s 5m 28s 80M

*incremental build is measured using touch core/runtime.rs; cargo build --release

@ry ry changed the title Simplify build options to speed up link time Improve release build link time by disabling LTO, codegen-units = 1, opt-level = 'z' Apr 6, 2021
@ry ry requested a review from piscisaureus April 6, 2021 17:52
@ry ry merged commit a87da4b into denoland:main Apr 9, 2021
@ry ry deleted the simplify-build branch April 9, 2021 12:18
ry added a commit that referenced this pull request Apr 9, 2021
ry added a commit that referenced this pull request Apr 9, 2021
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.

None yet

2 participants