Skip to content

Docs: measured compile-time effects of memory windows and DXC version - #346

Open
heretic1321 wants to merge 1 commit into
ivall:mainfrom
heretic1321:docs/compile-time-notes
Open

heretic1321 wants to merge 1 commit into
ivall:mainfrom
heretic1321:docs/compile-time-notes

Conversation

@heretic1321

Copy link
Copy Markdown

Adds docs/compile-time-notes.md, a short developer note that collects the compile-time measurements already published in issue #156 (including its 23 s XMemMapPhysicalPagesScatter call that tripped the title's watchdog), #187 and #214, so they need not be derived again. Docs only: no Rust and no runtime change.

What is in it

Tested
Docs only, nothing built or run. I read docs/wave64-on-wave32.md for the house style. Every number on the page was copied from these sources and checked against them:

Not tested

  • Nothing on the page was measured for this PR. Each number comes from one contributor's machine (NVIDIA only: RTX 3070 / 3090 / 4090 / 5070 Ti / 5080 on different drivers). Nothing here covers AMD.
  • The page draws conclusions from those numbers that nobody measured directly: a cold driver compile on a title thread could trip the watchdog (the 23 s case was a memory-mapping call, not a compile), and with DXC 1.7 the switch form's cost moves from DXC to the driver (one run, one machine).
  • The XCL_BIG_PSO_KB=128 suggested for DXC 1.9 in D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214 is not measured, and the page says so.

AI use
Antigravity CLI with Claude Opus 5.5: read the threads, wrote the page and this description. A human reviewed them before submission.

Collects the shader compile-time numbers published in issue ivall#156 and
PRs ivall#187 and ivall#214 into one note, so they need not be derived again:
driver time grows faster than DXIL size, the DXC version changes DXIL
size (so a byte threshold is version-relative), the four-window switch
form costs 12.5-15.5x DXC against one window with DXC 1.8/1.9 while the
heap form (ivall#187) stays near one window, and only the cold driver run of
a cell is a real compile. Every number is attributed to its author and
thread; nothing was measured for this note.

Assisted-by: Antigravity CLI (Claude Opus 5.5)
@heretic1321
heretic1321 force-pushed the docs/compile-time-notes branch from 57aae02 to 420bcf7 Compare November 24, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant