Nov 2026
9 Mon
10 Tue
11 Wed
12 Thu
13 Fri 09:00 AM – 06:00 PM IST
14 Sat 09:00 AM – 06:00 PM IST
15 Sun
Shaurya
Submitted Sep 18, 2026
We spent a week optimising an LLM pipeline and most of what we measured was noise
Alternative titles, if a plainer one reads better to the editorial team:
A 12,858-image vision pipeline took 1h51m, so we tested four optimisations
against it. Three showed no effect, one was slower, and our measurements had 43%
run-to-run variance — here’s how we found the real wins anyway, and why they came
from reading code rather than benchmarking it.
Anyone putting an LLM pipeline into production hits the same wall: it is too
slow, there are obvious things to try, and none of the usual profiling instincts
work. The provider’s latency moves 2x over minutes. Your effect size is 10%.
Your variance is 43%. Every benchmark you run is a coin flip you mistake for a
result.
We ran the experiment properly and it taught us more about measurement than
about latency:
gs:// URI transport — the change we were most confident about — didgs:// at all, the sanctionedThe real wins came from auditing, not benchmarking:
Thesis: when run-to-run variance exceeds your effect size, stop benchmarking
and start reading code. Defects are measurable at n=1; optimisations are not.
Engineers running inference pipelines in production, and more generally anyone
whose system depends on a service whose latency is noisier than the change they
are trying to make. No ML background needed — the subject is an LLM pipeline,
the content is measurement discipline.
asyncio.gather turns one slow request into a whole-stage stall,| Time | Section |
|---|---|
| 5 min | The pipeline, the 1h51m baseline, the four things we planned to try |
| 10 min | All four results, including the two that went the wrong way |
| 10 min | Why we could not trust any of it: 43% variance, drift, a Streamlit app |
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}