-
Notifications
You must be signed in to change notification settings - Fork 6
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
Produces larger binaries than cosmwasm workspace-optimizer #20
Comments
It does use the same optimizations: I wonder if it could be related to the issue with unified feature flags across workspace members in a monorepo maybe. Let's say Then according to Cargo's built-in feature-flag resolver, it will build |
Makes sense that the issue is likely related to some of the contracts being used by other contracts with the Just to test, I ran the latest Ignoring the empty wasms, the contracts look to be about the same size as workspace optimizer:
Not sure how the cosmwasm rust workspace optimizer gets around this issue. Also Im realizing now that I made an issue "wasms too small" and now a "wasms too big" issue lol, sorry. |
I noticed that the cw-optimizoor optimized binaries are a bit larger than the rust workspace-optimizer for the DAO DAO contracts.
cw-optimizoor:
cosmwasm workspace optimizer:
You can see the % difference here: DA0-DA0/dao-contracts#474 (comment)
I wonder if there is a different optimization flag being used?
The text was updated successfully, but these errors were encountered: