Skip to content

[upstream #943] Scripts: compare performance across two XCL runs - #152

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/943
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/943

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Startup and loading comparisons currently require pulling counters and timings out of two logs by hand. This script pairs activity samples from startup up to the shorter run.

What is in it

  • scripts/compare-perf.ps1 compares presentation counts, DirectStorage requests, first displayed frame time, and peak sampled process commit from existing logs. Output contains metrics only.
  • A PowerShell fixture covers unequal runs, missing metrics and activity, and a literal path. The README documents usage.

Tested

Windows build 26300, RTX 4070 (617.14), Core i7-13700F, Rust 1.100.0 MSVC.

  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\compare-perf.tests.ps1: both fixture checks passed. Also compared two real 45-second traces on this machine (22 common samples).
  • Debug cargo build --locked --workspace succeeded. Then cargo test --locked --workspace --no-fail-fast -- --test-threads=1 --nocapture: 716 passed, 0 failed, 41 ignored. Four runtime GPU skips are included in the pass count: two for wave64 and two for the D3D12 debug layer.
  • Initial four-thread test run before building the test title: 712 passed, 4 failed, 41 ignored, 4 runtime GPU skips. Three failures were in GPU texture/VRAM tests and one e2e failure reported missing test binaries. All four passed in the build-first serial run.

Not tested

PowerShell 7, Linux, and macOS. Workspace tests ran without optional retail sample variables.

AI use

Codex (GPT-6) implemented the script, wrote the fixture and documentation, ran the checks, and drafted this PR.


Mirror of xcl-dev#943 (auto-synced, do not edit).

Pair activity samples from startup so performance reports compare a common window. Read the first displayed frame and sampled commit from existing logs.

Assisted-by: Codex (GPT-6)
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#943 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/943 branch November 25, 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.

2 participants