Add an optional stage breakdown to the scene timing summary #21
No reviewers
Labels
No labels
accessibility
bench-bm-v1
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/PastiiJay--klbf-lab!21
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-21"
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?
@HandshakeHackin on GitHub · 2026-11-25 16:57 UTC · original
HandshakeHackin:log-timing-breakdown→beta· +56 −10 · 1 files · 3 commits · openThe Proton report in #19 compares texture preparation, GPU time, copy-back time and dropped draws for individual samples.
--breakdownextracts those counters and copy preparation from existing host timing lines over the selected scene. It reports the median of each counter and the number of complete records. Older or partial records still contribute to the top-level host summary.I checked five captured timing lines from fxceless/victory-fork#26 and fxceless/victory-fork#148. For the RTX 5060 Ti sample, the new line returned 46.7 ms preparing copies, 6.5 ms preparing textures, 121.5 ms on the GPU and 31.9 ms copying back, with 4,030 draws and 443 dropped. Default output matched the original byte-for-byte on both excerpts. I also checked UTF-16 PowerShell output, ANSI colors, inclusive line ranges and a truncated timing line.
python docs/klbf/summarize_log.py run.log --lines 1200 2500 --breakdown@PastiiJay on GitHub · 2026-11-25 17:02 UTC · original
Thanks a lot @HandshakeHackin! Noted. I'll test it on the RX 9070 XT in the next test build and report back here.
@HandshakeHackin on GitHub · 2026-11-26 05:07 UTC · original
I found a case in #31 where the existing command reported zero timing samples. PowerShell wrapped each timestamped entry between the CPU value and
preparing:. Atb13635fthe tool reconstructs those entries inside the selected physical line range. The attached UTF-16 debug log now yields 37 complete host samples and 37 stage breakdowns. The unwrapped #55 log still gives the same 86 samples and medians.For a small check on #31,
--lines 2767 2769 --breakdownreturns one sample at 30.7 FPS, 32.5 ms/frame, and 1.3 ms of CPU preparation. A range ending at line 2767 contains only the incomplete header. Windows and Linux checks passed across 41 single-wrap positions, four encodings, and record/range boundaries. Original #31 log · Windows and Linux checks@PastiiJay on GitHub · 2026-11-26 10:42 UTC · original
Thanks, recovering those wrapped PowerShell lines makes old logs usable again. We'll use it on our next run.
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.