Skip to content

opt(io): optimize ParallelStateProvider#29

Merged
nekomoto911 merged 2 commits intov1.0.7-gravityfrom
cyx-dev
Jan 16, 2025
Merged

opt(io): optimize ParallelStateProvider#29
nekomoto911 merged 2 commits intov1.0.7-gravityfrom
cyx-dev

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
Richard1048576 pushed a commit that referenced this pull request Feb 26, 2026
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
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