-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Bench tps fixes #735
Bench tps fixes #735
Conversation
advertised by the client
src/bin/bench-tps.rs
Outdated
@@ -151,13 +153,14 @@ fn generate_and_send_txs( | |||
txs as f32 / (duration_as_s(&transfer_start.elapsed())) | |||
); | |||
|
|||
loop { | |||
// try for 5s to get a new 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.
Should we log something angry or just abort if we don’t find a new 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.
Yea. I will add a message and an exit(1).
src/bin/bench-tps.rs
Outdated
} else { | ||
num_txs = balance; | ||
} | ||
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.
Yay thanks for merging these two loops, I was going to do that later today!
3f64363
to
06f970e
Compare
…na-labs#735) Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 15.1.0 to 16.0.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](rollup/plugins@commonjs-v15.1.0...commonjs-v16.0.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…na-labs#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet.
…t (backport of #735) (#742) quic: use smallvec to aggregate chunks, save 1 alloc per packet (#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet. (cherry picked from commit 55ab7fa) # Conflicts: # programs/sbf/Cargo.lock # streamer/Cargo.toml # streamer/src/nonblocking/quic.rs Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
…t (backport of #735) (#741) quic: use smallvec to aggregate chunks, save 1 alloc per packet (#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet. (cherry picked from commit 55ab7fa) # Conflicts: # Cargo.lock # Cargo.toml # programs/sbf/Cargo.lock # streamer/Cargo.toml # streamer/src/nonblocking/quic.rs Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
…t (backport of solana-labs#735) (solana-labs#741) quic: use smallvec to aggregate chunks, save 1 alloc per packet (solana-labs#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet. (cherry picked from commit 55ab7fa) # Conflicts: # Cargo.lock # Cargo.toml # programs/sbf/Cargo.lock # streamer/Cargo.toml # streamer/src/nonblocking/quic.rs Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
…na-labs#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet.
…na-labs#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet.
…t (backport of solana-labs#735) (solana-labs#742) quic: use smallvec to aggregate chunks, save 1 alloc per packet (solana-labs#735) quic: use smallvec, save one allocation per packet Use smallvec to hold chunks. Streams are packet-sized so we don't expect them to have many chunks. This saves us an allocation for each packet. (cherry picked from commit 55ab7fa) # Conflicts: # programs/sbf/Cargo.lock # streamer/Cargo.toml # streamer/src/nonblocking/quic.rs Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
No description provided.