Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
SslStream disproportionately allocates #11826
Switching from http
to https goes via SslStream and causes the allocations to increase dramatically (new in red below)
Comparison is to WebSocketReceiveResult which already has over allocations #4530
I do also get stuttering at a much much lower load when using SslStream; the only thing that looks related that seems like it make do any kind of blocking/resource consumption is
However there's not a huge amount of time spent there; so is more likely to be much higher levels of GC caused by these allocations; though the WaitHandle may be temporarily poisoning the threadpool. Still investigating.