envoyproxy/envoy

Optimize UdpGsoBatchWriter performance

Open

#15.954 aperta il 13 apr 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/quicarea/udpbughelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

UdpGsoBatchWriter::writePacket() copies source/destination addresses and linearizes buffer into string on each call. These are unnecessary and add a lot of overhead.

The overall implementation needs to be reviewed to eliminate such cases.

Guida contributor