Skip to content

Conversation

@CBenoit
Copy link
Member

@CBenoit CBenoit commented Aug 14, 2024

Number of syscalls is reduced by using a BufWriter and waiting for write operations to stop before calling flush().

Performance is increased by ~28.4%.

Before this patch:

0.0000-17.1307 sec 28.8 GBytes 14.4 Gbits/sec

After this patch:

0.0000-13.8483 sec 29.9 GBytes 18.5 Gbits/sec

Number of syscalls is reduced by using a `BufWriter` and waiting for
write operations to stop before calling `flush()`.

Performance is increased by ~28.4%.

Before this patch:

> 0.0000-17.1307 sec 28.8 GBytes 14.4 Gbits/sec

After this patch:

> 0.0000-13.8483 sec  29.9 GBytes  18.5 Gbits/sec
@CBenoit CBenoit enabled auto-merge (squash) August 14, 2024 17:43
@CBenoit CBenoit merged commit 11efaa5 into master Aug 14, 2024
@CBenoit CBenoit deleted the perf/jmux-proxy-4 branch August 14, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants