Context
The accepted TypeScript frontend suite covers startup, file scaling, deep types, import/re-export graphs, TSX, generic calls, and control-flow narrowing, but it does not isolate overload candidate selection. This leaves a distinct checker cost unmeasured.
Proposed fair workload
Add one deterministic, dependency-free TypeScript module containing:
- a fixed set of overload signatures distinguished by literal discriminants and structurally different payloads;
- generic literal-ID inference through every overload;
- contextual typing for object, tuple, nested-object, and callback arguments;
- typed result assignments that require each chosen overload to preserve its discriminant, ID, and payload type; and
- repeated call groups large enough to measure candidate selection rather than process startup.
All three compilers must receive the exact same source and tsconfig, accept it successfully, and produce no output under --noEmit before timing. Compiler versions remain tsc 6.0.3 and native TypeScript 7.0.2.
Acceptance criteria
- Commit the workload before any optimization and do not change it in response to results.
- Keep the shape logical, auditable, and meaningfully distinct from
generic_calls. - Record an interleaved red/green baseline.
- If Home loses, profile the unchanged workload and make only general compiler improvements.
- Run focused tests plus the complete affected package suites.
- Publish a 30-run result in the detailed performance document and README summary.
- Update #416 with commits and results.
Refs #416