`n` structs each conforming to a shared interface. Stresses interface conformance checking / witness synthesis in the front end (compiled to a .slang-module so the signal is sema, not codegen). Scaling null: n scales conforming structs against ONE interface; ideal checking cost is O(n).
bucket: sema · mode: module · flags: (none)
compileInner split into phase buckets (named leaves + (self) residuals) stacked across the sweep sizes — the top edge is compileInner, so you can see which phase drives the scaling.
floor-subtracted power-law fit (t − floor) = a·Nk; floor = the minimal workload (fixed per-compile cost), k the global exponent, top-2× the local high-end doubling ratio.
| N range | floor (ms) | k (work) | fit R² | t(Nmin) | t(Nmax) | top-2× |
|---|---|---|---|---|---|---|
| 600–4800 | 14 | 1.18 | 0.999 | 57 | 514 | 2.11× |
compileInner grows by 457 ms across the sweep; the mutually-exclusive phase buckets below partition that growth exactly (no nested-timer double counting). × lin is the same metric as the top-level panels, per bucket: the end point vs a linear expectation anchored to the bucket's share of the minimal floor and fitted on the low-N half — 1.0 = grew exactly linearly, >1 bends up. The super-linearity lives where × lin (and k) are red.
| bucket | t@N=600 | t@N=4800 | Δ ms | share | × lin | ∝Nk |
|---|---|---|---|---|---|---|
| generateOutput (self) | 17 | 176 | +159 | 35% | 1.34× | 1.18 |
| generateIR | 21 | 176 | +155 | 34% | 1.08× | 1.05 |
| SemanticChecking | 15 | 125 | +111 | 24% | 1.31× | 1.27 |
| parseTranslationUnit | 4 | 37 | +33 | 7% | 1.04× | 1.05 |
Near-constant (≤2% of growth each): compileInner (self) (0→0 ms), frontEndExecute (self) (0→0 ms).
| N | compileInner | SemanticChecking | frontEndExecute |
|---|---|---|---|
| 600 | 57 | 15 | 40 |
| 1200 | 116 | 30 | 82 |
| 2400 | 244 | 62 | 167 |
| 4800 | 514 | 125 | 339 |