---
name: performance-analysis
description: Performance analysis. Use for runtime throughput or latency benchmarks, TypeScript compiler cost, performance regressions, comparison harnesses, or thresholds.
---

Validate correctness with focused tests before measuring. Compare the same
focused operation and environment across revisions; a single unpaired run is
not evidence of improvement.

Select every applicable branch:

- **Runtime performance:** Read [runtime.md](runtime.md).
- **Type performance:** Read [types.md](types.md).

The task is complete when every selected branch meets its measurement and
reporting criteria and applicable root checks pass or are reported as not
runnable.
