msquic
msquic copied to clipboard
Improve Perf of QuicStreamSetUpdateMaxStreams
Describe the feature you'd like supported
When looking at perf traces, I noticed 2.5% of the connection was spent simply updating the max flow control for stream IDs; essentially allowing queued streams to be started. The reason it's kind of expensive is that we iterate through the entire stream set hash table (including both started and non-started streams).
Proposed solution
We could have an ordered list of non-started streams that we can walk to improve the perf.
Additional context