envoyproxy/envoy

Optimize UdpGsoBatchWriter performance

Open

#15.954 aberto em 13 de abr. de 2021

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (5.373 forks)batch import
area/quicarea/udpbughelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

Description

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.

Guia do colaborador