Bench: count failed host pipelines from the "host pipeline failed" line #4518

Closed
github-bot wants to merge 14 commits from github-bot/gh-4517 into main AGit
Owner

@⁠eipastel on GitHub · 2026-11-30 21:46 UTC · original
eipastel:fix/bench-pipeline-failed → main · +958 −847 · 33 files · 14 commits · closed without merging

[pr-fix] No issue open for it.

What it changes

Since bd70a1f5 ("a failed create is logged once per key with its reason"), a failed host pipeline is logged by pipeline::refused as

WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) key="6a2459f265aae582+e60ea78220a659b8" stage="mesh" hr=0x8007000e ...

scripts/bench.ps1 only matches the older host (mesh )?pipeline refused ... shaders=[...] text, so its "refused" column and the "host pipelines refused" line read 0 on logs from current main, even when hundreds of pipelines failed. This adds one more elseif that counts each distinct key of the new line. The old pattern stays, since pipeline::host still logs host pipeline refused with the rectangle geometry stage shaders=[...] and older logs use it.

Three lines in bench.ps1, nothing else. Not touched: the frame-line pattern at line 173, which #2475, #3925 and #4004 already cover.

How it was tested

  • GPU and profile: RTX 5060 8 GB, Series S, DLSS Performance, no frame generation. The logs are from victory preload + play on main at e1251c31, and from a play log of 27/11.
  • Before: the parsing branch, run over a current log with 1150 distinct host pipeline failed keys (out of memory during preload, 0x8007000E), counted 0. A 27/11 log with the old host pipeline refused error=... shaders=[compute 7f61193d2c0e5f22] line counted 1.
  • After: 1150 on the current log, still 1 on the old one.
  • bench.ps1 parses without errors ([Parser]::ParseFile), and cargo xtask policy --staged passes.
  • cargo test passed for the crates it touches: not applicable (script only).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2475, #3925, #4004 (the frame-line pattern in the same file, a different line); none of the 12 open PRs touching bench.ps1 changes the refused pattern.

🤖 Generated with Claude Code

**@⁠eipastel** on GitHub · 2026-11-30 21:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4517) `eipastel:fix/bench-pipeline-failed` → `main` · +958 −847 · 33 files · 14 commits · closed without merging [pr-fix] No issue open for it. ## What it changes Since bd70a1f5 ("a failed create is logged once per key with its reason"), a failed host pipeline is logged by `pipeline::refused` as ``` WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) key="6a2459f265aae582+e60ea78220a659b8" stage="mesh" hr=0x8007000e ... ``` `scripts/bench.ps1` only matches the older `host (mesh )?pipeline refused ... shaders=[...]` text, so its "refused" column and the "host pipelines refused" line read 0 on logs from current `main`, even when hundreds of pipelines failed. This adds one more `elseif` that counts each distinct `key` of the new line. The old pattern stays, since `pipeline::host` still logs `host pipeline refused with the rectangle geometry stage shaders=[...]` and older logs use it. Three lines in `bench.ps1`, nothing else. Not touched: the frame-line pattern at line 173, which #2475, #3925 and #4004 already cover. ## How it was tested - GPU and profile: RTX 5060 8 GB, Series S, DLSS Performance, no frame generation. The logs are from `victory preload` + play on `main` at e1251c31, and from a play log of 27/11. - Before: the parsing branch, run over a current log with 1150 distinct `host pipeline failed` keys (out of memory during preload, 0x8007000E), counted 0. A 27/11 log with the old `host pipeline refused error=... shaders=[compute 7f61193d2c0e5f22]` line counted 1. - After: 1150 on the current log, still 1 on the old one. - `bench.ps1` parses without errors (`[Parser]::ParseFile`), and `cargo xtask policy --staged` passes. - `cargo test` passed for the crates it touches: not applicable (script only). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2475, #3925, #4004 (the frame-line pattern in the same file, a different line); none of the 12 open PRs touching `bench.ps1` changes the refused pattern. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since bd70a1f5 a failed pipeline create is logged once per key by
pipeline::refused as `host pipeline failed (logged once per key) key="..."`,
not as `host pipeline refused ... shaders=[...]`. bench.ps1 matched only the
old text, so its "refused" column read 0 on current logs. Both are counted now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 21:51:38 +00:00
github-bot closed this pull request 2026-12-01 00:04:53 +00:00
Author
Owner

@⁠eipastel on GitHub · 2026-11-30 23:51 UTC · original

Superseded by 4614: main was rewritten and this branch's base is no longer in it, so the same one commit is now on the new main.

**@⁠eipastel** on GitHub · 2026-11-30 23:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4517#issuecomment-7295607245) Superseded by 4614: `main` was rewritten and this branch's base is no longer in it, so the same one commit is now on the new `main`.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4518
No description provided.