-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Continuous client #362
Continuous client #362
Conversation
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.
Is this work tied to a v0.7.0 issue?
src/bin/client-demo.rs
Outdated
let time = Duration::new(time_sec, 0); | ||
let now = Instant::now(); | ||
while now.elapsed() < time { | ||
println!( |
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.
Can you move everything within the while loop to a separate function?
src/bin/client-demo.rs
Outdated
let signing_start = Instant::now(); | ||
let transactions: Vec<_> = keypair_pairs | ||
.par_iter() | ||
.map(|chunk| Transaction::new(&chunk[0], chunk[1].pubkey(), 1, last_id)) |
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'm curious, how are you calculating TPS if TX signing is inside the loop?
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.
the other thread is sampling it.
Codecov Report
@@ Coverage Diff @@
## master #362 +/- ##
=========================================
- Coverage 90.78% 90.7% -0.09%
=========================================
Files 36 36
Lines 3482 3484 +2
=========================================
- Hits 3161 3160 -1
- Misses 321 324 +3
Continue to review full report at Codecov.
|
I don't believe the work has a specific 0.7 issue other than general TPS monitoring/improvement. |
Also retry for get_last_id/transaction_count if dropped.
88cb731
to
0b2ccdf
Compare
…na-labs#35330) (solana-labs#362) Bump platform tools version (solana-labs#35330) Co-authored-by: Dmitri Makarov <[email protected]>
…) (#362) Bump platform tools version (#35330) Co-authored-by: Dmitri Makarov <[email protected]>
No description provided.