You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed a serious allocation issue, but also added a 4kb buffer to each frame, which is more per-request allocation. Simply just making this static as well may not do what we want, as this might lead to a lot of contention for this cache line.
I think we need to revisit the original proposal which was to implement CopyToStreamAsync in a smarter way.
Allocation data for 3000 requests:
In my sample app, this is responsible for 12/82mb allocated
This change: 4bba074
Fixed a serious allocation issue, but also added a 4kb buffer to each frame, which is more per-request allocation. Simply just making this
staticas well may not do what we want, as this might lead to a lot of contention for this cache line.I think we need to revisit the original proposal which was to implement
CopyToStreamAsyncin a smarter way.Allocation data for 3000 requests:

In my sample app, this is responsible for 12/82mb allocated