OpenAI has built an internal system it calls the Performance Factory, which uses Codex — the company's coding agent — to hunt down and fix the bottlenecks that make ChatGPT feel slow, per reporting by Webrazzi on 20 November.

The idea is the logical endpoint of a trend that has been building all year: hand the optimisation loop itself to an agent. Profile the hot path, propose a patch, benchmark it, keep it only if it is genuinely faster and still correct, then move to the next bottleneck. Run that cycle continuously against the services users actually hit, and performance work stops being a quarterly project and becomes a background process.

Why that matters is not that a demo optimised a function. It is where the work is aimed. ChatGPT demands enormous scale: long-lived streaming connections, gigantic models split across fleets of accelerators, and a serving stack that also has to schedule, cache and route. At that size a few percent of latency or cost turns into numbers that matter both to the user experience and to the bill. An agent that can shave those points faster than a human team can schedule the work is a real lever.

The caveats are equally real, and OpenAI's framing does not remove them. Automated performance changes are exactly the class of patch that passes a benchmark and quietly breaks a rare code path — P99 behaviour, a fallback, a timeout under load. 'Faster and still passing tests' is a weaker claim than 'faster and still correct under production traffic', and the difference only shows up in production. The same caution applies to any company tempted to copy the pattern: measurement you trust, and review that catches the tail, are the parts that keep an agentic optimiser from becoming a liability.

Still, the direction is hard to un-see. The lab that sells coding agents is now pointing one at its own flagship product's worst habit — being slow — and treating the fix as a pipeline rather than an art. Expect the pattern to be copied widely, and to be judged on whether the P99 chart moves.