Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cheaper calculation of flushes. (#264)
Motivation: The outbound flow control buffer currently does a linear scan through the pending data objects to work out how many bytes were buffered. Let's burn an integer and just calculate these on the way in, making flushes way cheaper. Modifications: - Update the number of bytes when we buffer the write, and make flushes cheaper. Result: Moderate performance improvement in high throughput server benchmarks (around 4%).
- Loading branch information