Skip to content

Add a synchronous fast-path to PipeStream.ReadAsync - #1849

Open
Rob-Hague wants to merge 1 commit into
sshnet:developfrom
Rob-Hague:pipestream-readasync
Open

Rob-Hague wants to merge 1 commit into
sshnet:developfrom
Rob-Hague:pipestream-readasync

Conversation

@Rob-Hague

Copy link
Copy Markdown
Collaborator

When data is available and the lock is uncontended, we can complete synchronously. Improves throughput by up to 10x in this happy state, depending on the read size.

When data is available and the lock is uncontended, we can complete synchronously.
Improves throughput by up to 10x in this happy state, depending on the read size.
@Rob-Hague
Rob-Hague force-pushed the pipestream-readasync branch from 79bd4dd to 4dbe147 Compare October 17, 2026 14:09

This branch has not been deployed

No deployments
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