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

Bench tps fixes #735

Merged
merged 3 commits into from
Jul 23, 2018
Merged

Bench tps fixes #735

merged 3 commits into from
Jul 23, 2018

Conversation

sakridge
Copy link
Member

No description provided.

@sakridge sakridge requested a review from mvines July 23, 2018 18:26
@@ -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
Copy link
Member

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?

Copy link
Member Author

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).

} else {
num_txs = balance;
}
println!(
Copy link
Member

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!

@mvines mvines merged commit b3f823d into solana-labs:master Jul 23, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
…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>
CriesofCarrots pushed a commit to CriesofCarrots/solana that referenced this pull request Apr 11, 2024
…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.
yihau pushed a commit that referenced this pull request Apr 11, 2024
…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>
yihau pushed a commit that referenced this pull request Apr 11, 2024
…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>
lijunwangs pushed a commit to lijunwangs/solana that referenced this pull request Apr 12, 2024
…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>
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Apr 13, 2024
…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.
lijunwangs pushed a commit to lijunwangs/solana that referenced this pull request Apr 18, 2024
…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.
lijunwangs pushed a commit to lijunwangs/solana that referenced this pull request Apr 24, 2024
…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>
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.

2 participants