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