-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(jetsocat,dgw): limit number of syscalls in JMUX sender task (#976)
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
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters