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

Use PoolingAsyncValueTaskMethodBuilder on ReadStreamMessageAsync method #1850

Merged
merged 2 commits into from
Aug 18, 2022

Conversation

mayuki
Copy link
Contributor

@mayuki mayuki commented Aug 18, 2022

Use PoolingAsyncValueTaskMethodBuilder on ReadStreamMessageAsync method to reduce allocations per streaming-message read.

image
image

dotnet run -c Release -p .\perf\benchmarkapps\GrpcClient\ -- -u http://localhost:5000 -c 10 --streams 50 -s pingpongstreaming -p h2c --grpcClientType grpcnetclient

Co-authored-by: James Newton-King <james@newtonking.com>
@JamesNK JamesNK merged commit 77ae8af into grpc:master Aug 18, 2022
@JamesNK
Copy link
Member

JamesNK commented Aug 18, 2022

Thanks!

@mayuki mayuki deleted the UsePoolingAsyncValueTaskMethodBuilder branch August 18, 2022 05:44
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.

None yet

2 participants