-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 RPC bench threads to accounts-cluster-bench #34520
Conversation
a09f55c
to
03b717f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #34520 +/- ##
=======================================
Coverage 81.8% 81.8%
=======================================
Files 822 822
Lines 221504 221504
=======================================
+ Hits 181289 181343 +54
+ Misses 40215 40161 -54 |
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.
Generally looks fine. Just a couple thoughts and questions.
if last_error.elapsed().as_secs() > 2 { | ||
info!("get_slot error: {:?}", e); | ||
last_error = Instant::now(); | ||
} |
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.
Maybe dedupe this into a closure or fn in case we want to twiddle the frequency or make other changes to all RpcBench variants?
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.
I can do this in a follow-up, requires some re-shuffling.
03b717f
to
c8b661e
Compare
c8b661e
to
b1190c4
Compare
Problem
No way to benchmark the RPC subsystem while creating large numbers of accounts like with accounts-cluster-bench.
Summary of Changes
Add RPC benchmarking threads to accounts-cluster-bench which can query for the created accounts while the bench is running.
Fixes #