---
title: "How OpenAI’s Performance Factory keeps ChatGPT fast"
description: "OpenAI's Performance Factory is a cloud-based system of Codex agents that automates performance regression handling end to end, from alert to root cause, proposed fix, and verified recovery."
url: "https://swe.quest/articles/how-openai-s-performance-factory-keeps-chatgpt-fast-ea2e757d7a447cda"
canonical: "https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast"
source: "OpenAI"
published: "2026-11-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 15
tags: ["ai-agents","performance","observability","ai-coding","system-design"]
---

# How OpenAI’s Performance Factory keeps ChatGPT fast

A post on [OpenAI](https://swe.quest/sources/openai.md), published 2026-11-19, 15 min read, Case study. Original: [https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast](https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast)

## Summary

OpenAI's Performance Factory is a cloud-based system of Codex agents that automates performance regression handling end to end, from alert to root cause, proposed fix, and verified recovery. It is built from four parts: a task service with Markdown/TOML-defined workflow states, a dispatch loop that assigns ready tasks to agents, an API running Codex turns inside the internal network under a service identity, and event subscriptions that wake tasks on PR comments or deployments. A separate adversarial-review agent tries to disprove each diagnosis and each proposed fix, and a shared \`perf-forensics\` skill encodes the team's investigation playbook. In about three months the workflow ran over 1,700 investigations and root-caused more than 600, and 70% of 100 sampled diagnoses were graded accurate. Fixes proved harder than diagnosis and still go through engineer review.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- performance regression analysis ([easy posts on Performance engineering](https://swe.quest/tags/performance.md?difficulty=easy))
- observability tooling ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- coding agents ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))

## Keywords

Codex, Performance Factory, ChatGPT, perf-forensics, Regression Workflow

## Related posts

- [Capacity Efficiency at Meta: How Unified AI Agents Optimize Performance at Hyperscale](https://swe.quest/articles/capacity-efficiency-at-meta-how-unified-ai-agents-optimize-performance-at-44a0400c7a50e7b6.md): Meta Engineering · 2026-04-16 · Easy · 6 min read · AI agents, Performance engineering, Capacity planning, AI for coding
  Meta's Capacity Efficiency Program uses one AI agent platform for two jobs: finding performance optimizations (offense) and fixing production regressions (defense).
- [Harness engineering: leveraging Codex in an agent-first world](https://swe.quest/articles/harness-engineering-leveraging-codex-in-an-agent-first-world-2c11ac81997bc6aa.md): OpenAI · 2026-02-11 · Medium · 14 min read · AI for coding, AI agents, Developer productivity, Static analysis, Observability
  A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand.
- [Four minutes after midnight, Codex said the page was live](https://swe.quest/articles/four-minutes-after-midnight-codex-said-the-page-was-live-25ae19da11733480.md): Render · 2026-08-16 · Medium · 9 min read · AI for coding, AI agents, Code review, Developer productivity
  OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck.
- [Your AI agent fixed the bug, but what else did it change?](https://swe.quest/articles/your-ai-agent-fixed-the-bug-but-what-else-did-it-change-4b4967c8420473e1.md): Trail of Bits · 2026-10-21 · Medium · 8 min read · AI agents, AI for coding, Security, Testing, Open source
  Trail of Bits released two agent plugins, patching-bugs and regression-hunt, that delegate bug reproduction, patch development and regression checking to AI agents.
- [Everything We Talked About at O11yDay London 2026](https://swe.quest/articles/everything-we-talked-about-at-o11yday-london-2026-0f7b0e96a8f38f57.md): Honeycomb · 2026-10-16 · Medium · 11 min read · AI agents, Observability, AI for coding, Code review, Cost optimization
  Across ten sessions at O11yDay London, the recurring bottleneck was not writing code but reviewing it, operating agents in production, and proving the spend is worth it.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
