Codex Performance Plan
codex_plan_perfAnalyze the performance of a function, module, or pipeline to identify bottlenecks and generate a ranked optimization plan with expected impact.
Instructions
Ask Codex to analyze performance and create an improvement plan. Identifies bottlenecks, proposes ranked optimizations with expected impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | What to optimize: function, module, or pipeline path | |
| context | No | Additional context about usage patterns | |
| metrics | No | Performance metrics to focus on | |
| threadKey | No | Optional key enabling multi-turn continuity. Calls sharing a key use the same harness conversation and are serialized. Omit it for independent one-shot calls, including parallel reviews. | |
| constraints | No | Constraints: must not increase binary size, etc. | |
| workingDirectory | No |