From OpenAI · · 1m 50s
How OpenAI’s Performance Factory keeps ChatGPT fast
OpenAI’s Performance Factory automates ChatGPT performance fixes using Codex agents.
In brief
OpenAI’s Performance Factory automates ChatGPT performance fixes using Codex agents. OpenAI’s Performance Factory uses Codex to automatically find and fix ChatGPT performance regressions. Originally reported by OpenAI.
Performance Factory launched

OpenAI built the Performance Factory to automate finding and fixing ChatGPT performance issues using Codex.
Regression Workflow
The Regression Workflow tracks over 1,700 investigations and root causes 600 cases in three months.
Pre-Codex manual work
Engineers manually examined metrics, logs, and code to investigate slowdowns before Codex.
Codex as partner

Codex helped engineers investigate slowdowns by searching codebases and tracing interactions.
perf-forensics skill
The perf-forensics skill guides Codex to find slowdowns, identify affected requests, and check deployments.
Human proxy phase
Engineers copied alerts into Codex and pasted findings back into Slack for review.
Automated investigations

Alerts triggered Codex sessions that posted findings in Slack but required engineer review.
The factory
The Performance Factory runs end-to-end workflows from alert to verification of fixes.
Root cause step

Agents find when slowdowns started, affected requests, and potential deployments causing issues.
Adversarial review
A second Codex session challenges proposed diagnoses to catch errors.
Fixing regressions
Engineers review and deploy fixes after adversarial review confirms the diagnosis.
Verification step
Agents check if performance returns to baseline after deployment.
In short
OpenAI’s Performance Factory uses Codex to automatically find and fix ChatGPT performance regressions.
Read the TL;DR — this story on one card.




