Pipecat, Daily's voice agent framework, merged two Perfloop contributions.
The first is chatty I/O, the pattern where something sends way more messages than it needs to: the VAD controller was firing a speech event on every audio frame, when once every 200 ms was the intent, and each one fanned out through the LLM aggregator as a user-speaking frame. One line changed, 17% less CPU on the VAD pipeline.
The second is an avoidable copy: the audio volume tracker was rebuilding its 400 ms window from scratch on every chunk. 48.5% fewer bytes copied per update, allocations from 2 to 0.