-
Notifications
You must be signed in to change notification settings - Fork 449
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
Actualizing of the size of the delegator
example
#1054
Actualizing of the size of the delegator
example
#1054
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1054 +/- ##
===========================================
- Coverage 78.78% 62.57% -16.22%
===========================================
Files 248 248
Lines 9363 9361 -2
===========================================
- Hits 7377 5858 -1519
- Misses 1986 3503 +1517
Continue to review full report at Codecov.
|
Hey those are some really nice results, @xgreenx ! I've debugged the CI failure and I think it was just some temporary thing, the CI in #1055 builds all contracts fine. The results are not yet posted there due to some issue with the posting bot, I'll fix that next.
Yes, I think that's the right approach and I've created use-ink/cargo-contract#377 for it. @xgreenx Are you up for the issue on the |
I don't know how to ignore the |
use-ink/cargo-contract#378 fixes the issue=) So, I think we can close this PR and wait for the fix from |
🦑 📈 ink! Example Contracts ‒ Size Change Report 📉 🦑These are the results of building the
Link to the run | Last update: Tue Nov 30 08:24:58 CET 2021 |
@cmichi I thought the CI uses the latest |
Yep, it does, but the CI docker container is only rebuild nightly ‒ so in the case of your
(which is the latest The sizes posted by the bot above are when this PR here is compared against ink! The bot above still shows one number, but that's only because there is some small noise in one of the late decimal points, you can ignore that. I'll close this issue now, since it has been solved in |
Extracted that change from here.
Using
workspace
forces the compiler to keep stuff for debugging. It increases the size ofadder
,subber
,accumulator
.accumulator
:Original wasm size: 26.8K, Optimized: 6.2K
->Original wasm size: 20.5K, Optimized: 1.7K
subber
:Original wasm size: 28.4K, Optimized: 7.4K
->Original wasm size: 21.5K, Optimized: 2.9K
adder
:Original wasm size: 28.4K, Optimized: 7.4K
->Original wasm size: 21.5K, Optimized: 2.9K
I think it is better to remove it to track the actual size of these contracts.
CI fails with that change due to a strange error. I think it is related to caching, so created that PR separately. Hope you will find the reason=)