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

Measure contract file sizes with custom cargo-contract #2211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmichi
Copy link
Collaborator

@cmichi cmichi commented Apr 17, 2024

Not intended for merge.

@cmichi cmichi added the E-dont-merge A pull request that should not be merged. label Apr 17, 2024
@cmichi cmichi marked this pull request as ready for review April 17, 2024 14:41
@cmichi cmichi requested review from ascjones, smiasojed and a team as code owners April 17, 2024 14:41
@cmichi cmichi removed request for a team, ascjones and smiasojed April 17, 2024 14:42
Copy link

🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑

These are the results when building the integration-tests/* contracts from this branch with cargo-contract and comparing them to ink! master:

Contract Upstream Size (kB) PR Size (kB) Diff (kB) Diff (%) Change
call-builder-return-value 9.153 9.153 0 0
e2e-runtime-only-backend 1.89 1.89 0 0
lang-err/call-builder-delegate 2.622 2.622 0 0
lang-err/call-builder 5.541 5.541 0 0
lang-err/constructors-return-value 1.997 1.997 0 0
lang-err/contract-ref 5.032 5.032 0 0
lang-err/integration-flipper 1.827 1.827 0 0
mother 12.651 12.651 0 0
sr25519-verification 1.154 1.154 0 0
call-runtime 2.071 2.071 0 0
combined-extension 2.125 2.125 0 0
conditional-compilation 1.502 1.502 0 0
contract-storage 7.54 7.54 0 0
contract-terminate 1.369 1.369 0 0
contract-transfer 1.688 1.688 0 0
cross-contract-calls 7.672 7.672 0 0
cross-contract-calls/other-contract 1.595 1.595 0 0
custom-allocator 7.712 7.712 0 0
custom-environment 2.158 2.158 0 0
dns 7.355 7.355 0 0
e2e-call-runtime 1.308 1.308 0 0
erc1155 14.17 14.17 0 0
erc20 6.885 6.885 0 0
erc721 9.979 9.979 0 0
events 5.252 5.252 0 0
flipper 1.651 1.651 0 0
incrementer 1.516 1.516 0 0
lazyvec 4.658 4.658 0 0
mapping 7.839 7.839 0 0
multi-contract-caller 6.626 6.626 0 0
multi-contract-caller/accumulator 1.388 1.388 0 0
multi-contract-caller/adder 1.922 1.922 0 0
multi-contract-caller/subber 1.942 1.942 0 0
multisig 21.61 21.61 0 0
payment-channel 5.709 5.709 0 0
psp22-extension 7.054 7.054 0 0
rand-extension 2.977 2.977 0 0
runtime-call-contract 1.596 1.596 0 0
static-buffer 2.571 2.571 0 0
trait-dyn-cross-contract-calls 2.871 2.871 0 0
trait-dyn-cross-contract-calls/contracts/incrementer 1.557 1.557 0 0
trait-erc20 7.259 7.259 0 0
trait-flipper 1.502 1.502 0 0
trait-incrementer 1.626 1.626 0 0
upgradeable-contracts/delegator 3.96 3.96 0 0
upgradeable-contracts/delegator/delegatee 1.641 1.641 0 0
upgradeable-contracts/delegator/delegatee2 1.641 1.641 0 0
upgradeable-contracts/set-code-hash-migration 1.755 1.755 0 0
upgradeable-contracts/set-code-hash-migration/migration 1.462 1.462 0 0
upgradeable-contracts/set-code-hash-migration/updated-incrementer 1.909 1.909 0 0
upgradeable-contracts/set-code-hash 1.755 1.755 0 0
upgradeable-contracts/set-code-hash/updated-incrementer 1.733 1.733 0 0
wildcard-selector 2.858 2.858 0 0

Link to the run | Last update: Wed Apr 17 17:37:35 CEST 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-dont-merge A pull request that should not be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant