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

feature --gas-report-diff #1147

Open
fico23 opened this issue Mar 20, 2024 · 0 comments
Open

feature --gas-report-diff #1147

fico23 opened this issue Mar 20, 2024 · 0 comments

Comments

@fico23
Copy link

fico23 commented Mar 20, 2024

forge snapshot --diff offers valuable insights into overall gas consumption changes, yet it can sometimes lack granularity due to multiple function calls within tests. Introducing a forge test --gas-report-diff command could provide a more detailed comparison of gas usage at the function(and deployment) level. This feature would complement the existing forge test --gas-report, enabling developers to pinpoint specific changes in gas consumption with greater precision. Such an enhancement would be incredibly useful for optimizing contract efficiency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant