[PATCH grout] api: optimize send small payloads

Robin Jarry rjarry at redhat.com
Mon Jul 6 12:02:13 CEST 2026


Morten Brørup, Jun 13, 2026 at 11:52:
> Copy small payloads into buffer holding both header and payload,
> and send as one, instead of sending header and payload separately.
>
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
> ---
>  api/gr_api_client_impl.h | 29 ++++++++++++++++-----
>  main/api.c               | 55 ++++++++++++++++++++++++++++++----------
>  2 files changed, 63 insertions(+), 21 deletions(-)

Hi Morten,

Did you measure any improvement after this patch?



More information about the grout mailing list