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

opt(io): optimize ParallelStateProvider #29

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

nekomoto911
Copy link
Collaborator

@nekomoto911 nekomoto911 commented Jan 16, 2025

If there are no concurrent requests, process the requests in place to eliminate synchronization overhead.

Benchmark for block 17034870 to 17134870 using grevm 1.0:

  • LatestStateProvider (no parallel): 403.92 Mgas/second
  • ParallelStateProvider before opt. (parallel = 8): 331.64 Mgas/second
  • ParallelStateProvider after opt. (parallel = 8): 544.19 Mgas/second

@nekomoto911 nekomoto911 merged commit 4df0b8b into v1.0.7-gravity Jan 16, 2025
7 of 32 checks passed
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.

1 participant