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

[EVM] Benchmark state transitions #5032

Merged
merged 29 commits into from
Dec 11, 2023
Merged

Conversation

sideninja
Copy link
Contributor

@sideninja sideninja commented Nov 17, 2023

Closes: #5018

Implementation of benchmarking state transition for a single account. The test measures the impact on the underlying storage from the changes done on the state object.

This will be a base for work towards solving the issue: #4963

Example measurement for 1000 account balance updates.
Screenshot 2023-11-22 at 19 37 03

@codecov-commenter
Copy link

codecov-commenter commented Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f6b2370) 56.22% compared to head (edcf7ee) 65.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5032      +/-   ##
==========================================
+ Coverage   56.22%   65.63%   +9.41%     
==========================================
  Files         977       59     -918     
  Lines       91499     6207   -85292     
==========================================
- Hits        51443     4074   -47369     
+ Misses      36245     1805   -34440     
+ Partials     3811      328    -3483     
Flag Coverage Δ
unittests 65.63% <ø> (+9.41%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sideninja sideninja added this pull request to the merge queue Dec 4, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Dec 4, 2023
@sideninja sideninja enabled auto-merge December 11, 2023 13:07
@sideninja sideninja added this pull request to the merge queue Dec 11, 2023
Merged via the queue into master with commit fef6b06 Dec 11, 2023
53 checks passed
@sideninja sideninja deleted the gregor/evm/benchmark-state branch December 11, 2023 13:31
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.

[Flow EVM] Benchmarking: analyze EVM state database
4 participants