← all workloads

implicit_conversion

`n` functions, each a cascade of cross-type conversions: scalar widening (int/uint -> float), splats, mixed initializer lists (per-element coercion), vector compose/truncate, and explicit narrowing. Stresses the coercion / conversion-cost engine in semantic checking rather than operator overloading. Scaling null: n scales conversion sites against a FIXED type set; ideal cost is O(n).

bucket: typecheck  ·  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.

implicit_conversion — phase composition vs N (v2026.5, median ms) implicit_conversion 6.8× over N 300→2400 0.0 270 539 300 600 1200 2400 N implicit_conversion — parseTranslationUnit implicit_conversion — SemanticChecking implicit_conversion — generateIR implicit_conversion — frontEndExecute (self) implicit_conversion — generateOutput (self) implicit_conversion — 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×
300–240090.971.000744991.97×

Growth attribution (N=300 → N=2400)

compileInner grows by 426 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=300t@N=2400Δ msshare× lin∝Nk
SemanticChecking47304+25861%0.93×0.94
generateIR19144+12529%0.99×0.98
generateOutput (self)426+225%1.26×1.22
parseTranslationUnit324+215%1.09×1.06

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

Sweep numbers (median ms)

NcompileInnerSemanticCheckingfrontEndExecute
300744770
60013384126
1200254158241
2400499304473