-
Notifications
You must be signed in to change notification settings - Fork 119
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
Experiment with some wasm-opt options #110
Comments
In that regard experimenting with In general we should review the other flags from |
I've been playing around a bit with some of the optimizations options using some (but not For reference, the original sizes with
I think right now changing the opt level default from |
There are a lot of optimization options. I have no idea which are on by default and which are not. Would be nice to find that out. I guess the source code should reveal this information. For example, |
If nobody speaks up in the next days I'll close this issue. We've already set
as a consequence of this issue and it lead to some savings. We've done some experimenting of individual flags which seemed reasonable, but no further big finding was found. There are a lot more options we could try:
But it seems that the potential of finding another big thing is low, whereas we have a number of ideas in paritytech/substrate#9354 now, which will definitely lead to significant size improvements. So I think it's reasonable to rather focus our effort there. |
We currently are not using
wasm-opt
's--strip-debug --vacuum --dce
options. They might be useful to us to reduce the resulting.wasm
files. Experimentation needed.The text was updated successfully, but these errors were encountered: