Skip to content

some basic gas benchmarks #53

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

Open
wants to merge 1 commit into
base: v4-exploration
Choose a base branch
from
Open

Conversation

hoytech
Copy link
Contributor

@hoytech hoytech commented Mar 24, 2025

No description provided.

@saucepoint
Copy link
Collaborator

also its better to do 1 vm.snapshotGasLastCall per test, in case storage gets warmed

@zerosnacks
Copy link

Tip: make sure to run gas benchmarks with --isolate

See: https://book.getfoundry.sh/reference/cheatcodes/gas-snapshots#description

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

Successfully merging this pull request may close these issues.

3 participants