Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(jetsocat,dgw): limit number of syscalls in JMUX sender task #976

Merged
merged 1 commit into from
Aug 14, 2024

Commits on Aug 14, 2024

  1. perf(jetsocat,dgw): limit number of syscalls in JMUX sender task

    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 committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8fb182b View commit details
    Browse the repository at this point in the history