Files
Philipp Winter 9a6dda3f4c Remove unnecessary allocations and Write calls.
This commit improves networking performance by 1) moving an unnecessary
allocation to outside the hot loop and by 2) eliminating an unnecessary
Write call.

This result in ~7% faster throughput as measured via iperf3 and a custom
Web service to measure requests per second.  Note that this is *despite*
the append call.

Signed-off-by: Philipp Winter <phw@brave.com>
2023-06-27 10:00:07 +02:00
..