Skip to content

chore: Test sticky comment on the public functions report#8755

Closed
vezenovm wants to merge 15 commits into
masterfrom
mv/test-public-func-report
Closed

chore: Test sticky comment on the public functions report#8755
vezenovm wants to merge 15 commits into
masterfrom
mv/test-public-func-report

Conversation

@vezenovm

@vezenovm vezenovm commented Sep 24, 2024

Copy link
Copy Markdown
Contributor

Display results of #8750 when we have changes in public function size.

@github-actions

github-actions Bot commented Sep 25, 2024

Copy link
Copy Markdown
Contributor

Changes to public function bytecode sizes

Generated at commit: 60f39e451a6c6a86689cda8f692c07b12d472635, compared to commit: a1c812a17180e5b6cc6efdfd27b2434cc5d85027

🧾 Summary (100% most significant diffs)

Program Bytecode size in bytes (+/-) %
Token::burn_public +1,014 ❌ +19.20%
Token::transfer_public +1,014 ❌ +18.55%
TokenBlacklist::transfer_public +507 ❌ +7.34%
TokenBlacklist::shield +507 ❌ +6.67%

Full diff report 👇
Program Bytecode size in bytes (+/-) %
Token::burn_public 6,295 (+1,014) +19.20%
Token::transfer_public 6,481 (+1,014) +18.55%
TokenBlacklist::transfer_public 7,414 (+507) +7.34%
TokenBlacklist::shield 8,109 (+507) +6.67%

TomAFrench pushed a commit that referenced this pull request Sep 25, 2024
Re-use https://github.com/noir-lang/noir-gates-diff for computing
bytecode sizes of all public functions. I made a new script
`noir-projects/noir-contracts/publicFunctionsSizeReport.js`. It runs
through all the artifacts in the `target` directory of `noir-contracts`
and collects all public functions. We then compare a report of bytecode
sizes based upon the package name of
`{contract_name}::{public_function_name}`.

To see an example of the sticky comment after a public function change
you can look at
#8755.
Base automatically changed from mv/pub-funcs-size-report to master September 25, 2024 14:31
@vezenovm

Copy link
Copy Markdown
Contributor Author

Closing as this PR was simply for displaying what happens when public function bytecode sizes change after #8755.

@vezenovm vezenovm closed this Sep 25, 2024
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
Re-use https://github.com/noir-lang/noir-gates-diff for computing
bytecode sizes of all public functions. I made a new script
`noir-projects/noir-contracts/publicFunctionsSizeReport.js`. It runs
through all the artifacts in the `target` directory of `noir-contracts`
and collects all public functions. We then compare a report of bytecode
sizes based upon the package name of
`{contract_name}::{public_function_name}`.

To see an example of the sticky comment after a public function change
you can look at
#8755.
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
Re-use https://github.com/noir-lang/noir-gates-diff for computing
bytecode sizes of all public functions. I made a new script
`noir-projects/noir-contracts/publicFunctionsSizeReport.js`. It runs
through all the artifacts in the `target` directory of `noir-contracts`
and collects all public functions. We then compare a report of bytecode
sizes based upon the package name of
`{contract_name}::{public_function_name}`.

To see an example of the sticky comment after a public function change
you can look at
#8755.
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
Re-use https://github.com/noir-lang/noir-gates-diff for computing
bytecode sizes of all public functions. I made a new script
`noir-projects/noir-contracts/publicFunctionsSizeReport.js`. It runs
through all the artifacts in the `target` directory of `noir-contracts`
and collects all public functions. We then compare a report of bytecode
sizes based upon the package name of
`{contract_name}::{public_function_name}`.

To see an example of the sticky comment after a public function change
you can look at
#8755.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants