Keep graphics report summaries with long untimed headers or footers #378

Open
HandshakeHackin wants to merge 1 commit from upstream-pr/378 into v21
HandshakeHackin commented 2026-11-30 20:08:45 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-30T20:08:45Z.


In v26.11.23 the digest reads timestamps only from the first and last 64 KiB. With a longer untimed header the report loses its entire digest. With a longer untimed footer it loses its shader-stutter summary. I reproduced both using the existing synthetic graphics log and compared each result with the same log without padding.

The fix searches from either end for a timestamp and keeps the release’s filter for graphics counters. On Windows PowerShell 5.1 and PowerShell 7 both cases failed on stock v26.11.23 and passed with the change. The existing 40 MB performance check also passed. Stock and patched Windows runs

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:5572891702 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/378). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-30T20:08:45Z. --- In v26.11.23 the digest reads timestamps only from the first and last 64 KiB. With a longer untimed header the report loses its entire digest. With a longer untimed footer it loses its shader-stutter summary. I reproduced both using the existing synthetic graphics log and compared each result with the same log without padding. The fix searches from either end for a timestamp and keeps the release’s filter for graphics counters. On Windows PowerShell 5.1 and PowerShell 7 both cases failed on stock v26.11.23 and passed with the change. The existing 40 MB performance check also passed. [Stock and patched Windows runs](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46502527832)
HandshakeHackin commented 2026-11-30 20:26:31 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-30T20:26:31Z.


The upstream Windows check stopped at depth_bounds_pipeline_loads_and_filters_draws. I ran this digest change together with #381 on v21 and applied the depth-state correction from #27. Workspace Clippy passed, and the workspace finished with 1,311 tests passed and 48 ignored, including that depth-bounds test. The 40 MB report took 0.2 s on Windows PowerShell 5.1 and 0.1 s on PowerShell 7 in the same job. Combined Windows run

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7290921122 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/378#issuecomment-7290921122). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-30T20:26:31Z. --- The [upstream Windows check](https://github.com/PastiiJay/klbf-lab/actions/runs/46502926269/job/142145464384) stopped at `depth_bounds_pipeline_loads_and_filters_draws`. I ran this digest change together with #381 on v21 and applied the depth-state correction from #27. Workspace Clippy passed, and the workspace finished with **1,311 tests passed and 48 ignored**, including that depth-bounds test. The 40 MB report took 0.2 s on Windows PowerShell 5.1 and 0.1 s on PowerShell 7 in the same job. [Combined Windows run](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46504468450/job/142150909642)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/378:upstream-pr/378'
git switch 'upstream-pr/378'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'v21'
git merge --no-ff 'upstream-pr/378'
git switch 'upstream-pr/378'
git rebase 'v21'
git switch 'v21'
git merge --ff-only 'upstream-pr/378'
git switch 'upstream-pr/378'
git rebase 'v21'
git switch 'v21'
git merge --no-ff 'upstream-pr/378'
git switch 'v21'
git merge --squash 'upstream-pr/378'
git switch 'v21'
git merge --ff-only 'upstream-pr/378'
git switch 'v21'
git merge 'upstream-pr/378'
git push origin 'v21'
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
PastiiJay/klbf-lab!378
No description provided.