Skip to content

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 <[email protected]>
@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.

2 participants