Repository navigation
Conversation
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)
Owner
Author
|
Upstream PR xcl-dev#943 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ps1compares presentation counts, DirectStorage requests, first displayed frame time, and peak sampled process commit from existing logs. Output contains metrics only.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).cargo build --locked --workspacesucceeded. Thencargo 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.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).