Why Your Agent Awaits Inside a Loop, and When to Parallelize
Independent calls inside an awaited loop add latency in a straight line; here is when to fix it and when to leave it.
Read articleTopic
Independent calls inside an awaited loop add latency in a straight line; here is when to fix it and when to leave it.
Read articleAsked to reconcile a list, the agent wrote a per-item loop over a single endpoint. Three-row fixtures looked fast; staging fired hundreds of calls and throttled, even though a bulk endpoint already existed. Check for a batch path before writing the loop.
Read articleA clean-looking diff passed every test. The function was called 40k times per request. We didn't notice until p95 spiked.
Read article