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

Consider compressing the wasm files #12842

Open
bep opened this issue Sep 9, 2024 · 1 comment
Open

Consider compressing the wasm files #12842

bep opened this issue Sep 9, 2024 · 1 comment
Assignees

Comments

@bep
Copy link
Member

bep commented Sep 9, 2024

See https://github.com/gen2brain/webp/blob/c743205968f4c8e7a9e1313ab475f4541ff5adcd/webp_wazero.go#L342

@bep
Copy link
Member Author

bep commented Sep 10, 2024

A note to self,

The wasm files seems to compress by a factor of about 3, so the QuickJS WASM file goes from 1.5MB to 500KB. I do however suspect that the Go compiler/builder is smart about this, so I need to test if the binary gets any smaller by doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant