Timing runs: the card's time by kind of list #106

Merged
SousaTrashBin merged 1 commit from upstream-pr/106 into main 2026-11-26 08:17:50 +00:00
SousaTrashBin commented 2026-11-26 03:32:54 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by SousaTrashBin on 2026-11-26T03:32:54Z.


Timing runs: the card's time by kind of list

With VICTORY_GPU_TIMING, each list of a submission now runs and is timed on its own, including a run's prelude (its refreshes) and the compare of copies in the card's memory, which used to share a group with neighbouring lists. A new frame-line entry sums them by kind:

the card's time by list (timing run), per frame, from sending to the signal: 54.7 ms in 307 lists;
the title's 43.6 ms in 219 (their noted commands 30.9, the rest 12.8: what of ours is recorded among
them, barriers, and the sending); preludes 8.4 ms in 73 (refreshes of copies); steps on the card ...;
compares of copies in the card's memory 2.7 ms in 15; others of ours ...; the least a list took 29 us

The commands' sums by pipeline only covered the title's noted commands. This line shows where the rest of the card's time goes: the layer's own work recorded among the title's commands, the preludes, the card steps, the compares, and the cost of sending each list. "The least a list took" estimates what sending an empty list costs in a timing run.

This is what showed, on an RX 9070 XT, that about half the card's time was outside the title's commands.

Diagnostics only: lists are labelled in submit under #[cfg(feature = "diagnostics")]. Without timing nothing changes, and the build without diagnostics compiles as before.

cargo test -p victory-gpu --lib passes apart from timeline::report::tests::real_waits_are_recorded_with_who_ended_them, which fails the same way on main. Checked in a timing run of the title.

🤖 Generated with Claude Code

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:6618908046 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/106). Originally posted by [SousaTrashBin](https://github.com/SousaTrashBin) on 2026-11-26T03:32:54Z. --- ## Timing runs: the card's time by kind of list With `VICTORY_GPU_TIMING`, each list of a submission now runs and is timed on its own, including a run's prelude (its refreshes) and the compare of copies in the card's memory, which used to share a group with neighbouring lists. A new frame-line entry sums them by kind: ``` the card's time by list (timing run), per frame, from sending to the signal: 54.7 ms in 307 lists; the title's 43.6 ms in 219 (their noted commands 30.9, the rest 12.8: what of ours is recorded among them, barriers, and the sending); preludes 8.4 ms in 73 (refreshes of copies); steps on the card ...; compares of copies in the card's memory 2.7 ms in 15; others of ours ...; the least a list took 29 us ``` The commands' sums by pipeline only covered the title's noted commands. This line shows where the rest of the card's time goes: the layer's own work recorded among the title's commands, the preludes, the card steps, the compares, and the cost of sending each list. "The least a list took" estimates what sending an empty list costs in a timing run. This is what showed, on an RX 9070 XT, that about half the card's time was outside the title's commands. Diagnostics only: lists are labelled in `submit` under `#[cfg(feature = "diagnostics")]`. Without timing nothing changes, and the build without diagnostics compiles as before. `cargo test -p victory-gpu --lib` passes apart from `timeline::report::tests::real_waits_are_recorded_with_who_ended_them`, which fails the same way on `main`. Checked in a timing run of the title. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
avatarmanz commented 2026-11-26 07:55:16 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:55:16Z.


Merged into main in the next push (tests pass); thanks.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7185980996 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/106#issuecomment-7185980996). Originally posted by [avatarmanz](https://github.com/avatarmanz) on 2026-11-26T07:55:16Z. --- Merged into main in the next push (tests pass); thanks.
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
avatarmanz/VIctory-7900XTX!106
No description provided.