Tests: measure distinct pipeline library scaling #3055

Merged
bmjask merged 24 commits from upstream-pr/3055 into main 2026-11-28 01:14:01 +00:00
bmjask commented 2026-11-27 18:15:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-27T18:15:04Z.


Stacked on #3054, #3053, #3051, #3046, #3045, and #2829. ## What and why The native-library path needs synthetic scale evidence that distinguishes many real PSOs from many aliases of one PSO. This fixture creates distinct DXIL and distinct compute pipeline objects, then measures serialization and lazy reuse without title data. What is in it - A 32-entry synthetic compute corpus with distinct shader programs and PSOs. - Round-trip validation that every named entry loads after serialization and reopening. - Reported cold construction, serialized size, open latency, and aggregate load latency. Tested Commit 6e95c83a, Windows 11, NVIDIA RTX 4090: - cargo test -p xcl --lib pipeline_library -- --test-threads=1 --nocapture: 6 passed, 0 failed, 0 ignored, 0 skipped. - Two scale runs produced 19,192 serialized bytes. Library open took 41-44 µs; loading all 32 distinct PSOs took 148-183 µs. Cold synthetic construction took 87-145 ms. - Full-stack head e475c76f, Windows 11, NVIDIA RTX 4090: cargo build --workspace passed; cargo test --workspace -- --test-threads=4 passed 1,510 tests in 38 suites, with 0 failed, 47 ignored, and 26 explicitly reported SKIPPED capability tests. Regression run Not run. Repository policy requires a real-title smoke pair here, while this task explicitly prohibited launching a retail title. No smoke block or result has been invented. Not tested - A real-title regression smoke pair or a full real corpus (explicitly prohibited for this task). This remains a draft until the complete stack is validated. AI use Codex, GPT-5 implemented and reviewed the test and ran the commands reported above.

<!-- greyfinch-sync:ivall/xcl:issue:5531224984 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3055). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-27T18:15:04Z. --- Stacked on #3054, #3053, #3051, #3046, #3045, and #2829. ## What and why The native-library path needs synthetic scale evidence that distinguishes many real PSOs from many aliases of one PSO. This fixture creates distinct DXIL and distinct compute pipeline objects, then measures serialization and lazy reuse without title data. **What is in it** - A 32-entry synthetic compute corpus with distinct shader programs and PSOs. - Round-trip validation that every named entry loads after serialization and reopening. - Reported cold construction, serialized size, open latency, and aggregate load latency. **Tested** Commit `6e95c83a`, Windows 11, NVIDIA RTX 4090: - `cargo test -p xcl --lib pipeline_library -- --test-threads=1 --nocapture`: 6 passed, 0 failed, 0 ignored, 0 skipped. - Two scale runs produced 19,192 serialized bytes. Library open took 41-44 µs; loading all 32 distinct PSOs took 148-183 µs. Cold synthetic construction took 87-145 ms. - Full-stack head `e475c76f`, Windows 11, NVIDIA RTX 4090: `cargo build --workspace` passed; `cargo test --workspace -- --test-threads=4` passed 1,510 tests in 38 suites, with 0 failed, 47 ignored, and 26 explicitly reported `SKIPPED` capability tests. **Regression run** Not run. Repository policy requires a real-title smoke pair here, while this task explicitly prohibited launching a retail title. No smoke block or result has been invented. **Not tested** - A real-title regression smoke pair or a full real corpus (explicitly prohibited for this task). This remains a draft until the complete stack is validated. **AI use** Codex, GPT-5 implemented and reviewed the test and ran the commands reported above.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3055
No description provided.