-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add benchmarks for Scilla and ERC-20 transfers #2168
Open
JamesHinshelwood
wants to merge
3
commits into
main
Choose a base branch
from
improve-bench
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+356
−92
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bencher Report
Click to view all benchmark results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will investigate benchmark backfilling and resolve this comment when done. Leaving here to avoid merging :)
JamesHinshelwood
force-pushed
the
improve-bench
branch
from
January 17, 2025 15:41
0d234c8
to
82657b4
Compare
JamesHinshelwood
force-pushed
the
improve-bench
branch
from
January 17, 2025 17:14
82657b4
to
fb42eb0
Compare
JamesHinshelwood
force-pushed
the
improve-bench
branch
from
January 17, 2025 17:20
fb42eb0
to
2b984d4
Compare
86667
previously approved these changes
Jan 20, 2025
JamesHinshelwood
force-pushed
the
improve-bench
branch
2 times, most recently
from
January 20, 2025 17:40
d0837a8
to
3869480
Compare
JamesHinshelwood
changed the title
Improve existing full block benchmark
Add benchmarks for Scilla and ERC-20 transfers
Jan 20, 2025
Previously we would generate pre-emptively generate 3.2 million transactions, just in case we ran enough iterations to need them. Instead, we use Criterion's `iter_batched` method to generate the transactions as they are needed. This ensures we don't generate more transactions than we need and that we don't consume loads of memory. The two downsides of this approach are: * We don't generate transactions in parallel any more, but this doesn't seem to make much difference to the total benchmarking time now that we aren't over-generating transactions. * The generated flamegraphs now include the transaction generation calls, but drilling down and ignoring them is only one keypress. I've also renamed the benchmark from `produce-full` to `full-blocks-evm-transfers` since I think it better represents what we are testing.
JamesHinshelwood
force-pushed
the
improve-bench
branch
3 times, most recently
from
January 20, 2025 20:49
d368d5b
to
ceb3c36
Compare
JamesHinshelwood
force-pushed
the
improve-bench
branch
from
January 20, 2025 21:16
ceb3c36
to
b7c56fc
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously we would generate pre-emptively generate 3.2 million transactions, just in case we ran enough iterations to need them. Instead, we use Criterion's
iter_batched
method to generate the transactions as they are needed. This ensures we don't generate more transactions than we need and that we don't consume loads of memory. The two downsides of this approach are:I've also renamed the benchmark from
produce-full
tofull-blocks-evm-transfers
since I think it better represents what we are testing.