← all workloads

conformance

`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)

Phase composition vs N (stacked sub-counters)

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.

conformance — phase composition vs N (v2026.13.1, median ms) conformance 8.9× over N 600→4800 0.0 280 560 600 1200 2400 4800 N conformance — parseTranslationUnit conformance — SemanticChecking conformance — generateIR conformance — frontEndExecute (self) conformance — generateOutput (self) conformance — compileInner (self) phase buckets parseTranslationUnit SemanticChecking generateIR frontEndExecute (self) specializeModule simplifyIR linkIR unrollLoopsInModule legalizeResourceTypes legalizeExistentialTypeLayout performMandatoryEarlyInlining performForceInlining linkAndOptimizeIR (self) emitEntryPointsSourceFromIR generateOutput (self) compileInner (self)

Scaling analysis

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 rangefloor (ms)k (work)fit R²t(Nmin)t(Nmax)top-2×
600–4800111.141.000585192.13×

Growth attribution (N=600 → N=4800)

compileInner grows by 461 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.

buckett@N=600t@N=4800Δ msshare× lin∝Nk
generateOutput (self)17178+16135%1.35×1.18
generateIR22179+15734%1.09×1.04
SemanticChecking15124+10924%1.27×1.22
parseTranslationUnit437+337%1.06×1.04

Near-constant (≤2% of growth each): compileInner (self) (0→1 ms), frontEndExecute (self) (0→0 ms).

Sweep numbers (median ms)

NcompileInnerSemanticCheckingfrontEndExecute
600581541
12001163081
240024361166
4800519124340