| 1 | --- |
| 2 | name: performance-analysis |
| 3 | description: Performance analysis. Use for runtime throughput or latency benchmarks, TypeScript compiler cost, performance regressions, comparison harnesses, or thresholds. |
| 4 | --- |
| 5 | |
| 6 | Validate correctness with focused tests before measuring. Compare the same |
| 7 | focused operation and environment across revisions; a single unpaired run is |
| 8 | not evidence of improvement. |
| 9 | |
| 10 | Select every applicable branch: |
| 11 | |
| 12 | - **Runtime performance:** Read [runtime.md](runtime.md). |
| 13 | - **Type performance:** Read [types.md](types.md). |
| 14 | |
| 15 | The task is complete when every selected branch meets its measurement and |
| 16 | reporting criteria and applicable root checks pass or are reported as not |
| 17 | runnable. |