Workhorse: reuse buffers in proxy
What does this MR do and why?
I was browsing the profiler and noticed that Workhorse may make quite a few allocations for the reverse proxy buffer. It's not a lot of memory in absolute terms, but it's a 27% or memory use when not running heavy operations. It's straightforward to optimize this, so I did.
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Ash McKenzie