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

Bring libwasmer-headless.a from 22MiB to 7.2MiB (on my machine) #3134

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

epilys
Copy link
Contributor

@epilys epilys commented Aug 23, 2022

By using lto optimization flags.

A qjs.wasm executable using the headless engine now weights 4.6MiB:

% du -sh qjs-he*.out
20M qjs-headfull.out
4.6M qjs-headless.out

Description

Review

  • Add a short description of the change to the CHANGELOG.md file

@epilys epilys self-assigned this Aug 23, 2022
@epilys epilys force-pushed the lower-libheadless-size branch 2 times, most recently from 48f5f58 to 143e684 Compare August 23, 2022 17:28
By using lto optimization flags.

A qjs.wasm executable using the headless engine now weights 4.6MiB:

% du -sh qjs-he*.out
 20M    qjs-headfull.out
4.6M    qjs-headless.out
@epilys epilys force-pushed the lower-libheadless-size branch from 143e684 to 056268c Compare August 23, 2022 18:44
@epilys epilys requested a review from syrusakbary August 23, 2022 18:44
@epilys
Copy link
Contributor Author

epilys commented Aug 23, 2022

@epilys
Copy link
Contributor Author

epilys commented Aug 23, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 23, 2022

Build succeeded:

@bors bors bot merged commit 6b199f9 into master Aug 23, 2022
@bors bors bot deleted the lower-libheadless-size branch August 23, 2022 19:18
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