Skip to content

build: use 1 codegen-units for release builds #4464

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

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Jun 8, 2023

According to my measurements
this reduced libdeltachat.so size
by 3.3 MB, from 25.17 to 21.84 MB.

@link2xt link2xt requested review from r10s and adbenitez June 8, 2023 12:15
@link2xt link2xt changed the title build: use 1 codegen-units build: use 1 codegen-units for release builds Jun 8, 2023
According to my measurements
this reduced libdeltachat.so size
by 3.3 MB, from 25.17 to 21.84 MB.
@link2xt link2xt force-pushed the link2xt/codegen-units-1 branch from f8e20c6 to b9a5ab5 Compare June 8, 2023 12:15
@link2xt link2xt mentioned this pull request Jun 8, 2023
@link2xt
Copy link
Collaborator Author

link2xt commented Jun 8, 2023

I have looked at the git history, we have never set it before except in coverage.sh.

@link2xt
Copy link
Collaborator Author

link2xt commented Jun 8, 2023

I am not sure about these measurements, they are indeed flaky. It is better to test the final APK size.

@r10s
Copy link
Contributor

r10s commented Jun 8, 2023

interesting, thanks! i am now building a test apk with this pr

Copy link
Contributor

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! thanks a lot for that!

i did some measurements with apk at #4463 (comment)

@link2xt link2xt merged commit 0dbeb12 into master Jun 8, 2023
@link2xt link2xt deleted the link2xt/codegen-units-1 branch June 8, 2023 16:24
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