Speed up report creation for GPU crash logs with long DRED breadcrumbs #451
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/451"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T17:16:15Z.
What this changes
Search forwards for the most recent memory-trend record when summarizing a GPU log. A backwards search spent several seconds on long DRED breadcrumb lines. The change preserves the reported memory verdict.
Why
The player in #447 reports a 10–15 second wait when creating a report. The four public A750 logs in #448 gave me separate real inputs to profile.
Verification
On v26.12.4 and Linux PowerShell 7.4.19, the DRED-light digest took 4.55–5.61 seconds before and 0.043–0.101 seconds after. All 12 digest comparisons across the four logs were identical. All 19 digest suite checks passed, including the 40 MB case and new CRLF/LF cases.
Packing all four logs together took 8.35–10.98 seconds before and 2.62–3.05 seconds after, three runs per version. I decrypted each local report with a test key. All five entry names and contents matched across all six reports. No report was uploaded. Native Windows timing and the original player’s own input still need verification.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.