Read wrapped PowerShell logs in the standard-drive FPS report #71
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!71
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/71/head"
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-26 11:19 UTC · original
HandshakeHackin:fix/fps-session-powershell→main· +69 −6 · 2 files · 1 commits · merged 2026-11-26 11:29 UTCtools/fps-session.pyon currentmainexits withno world samples foundfor the Windows log attached to #31. The log is UTF-16 with a BOM, and PowerShell split the draw count anddraws/frameacross lines.This reads UTF-8 and BOM-marked UTF-16, rejoins wrapped timing records up to their draw counts, and hashes the original file bytes in chunks. I independently checked the records against their timestamps. The #31 log yields 21 qualifying samples with a 1.1 fps median and fingerprint
4c238cbbeb43e50f. The unwrapped #55 log keeps all 76 samples and fingerprint705391b7872a98c5. Its middle samples are 2.6 and 2.7 fps, so the report now prints 2.65 without floating-point display noise. These are parser checks on existing logs from different sessions.python tools/test_fps_session.pypasses, covering wrapped timestamps, both UTF-16 byte orders, UTF-8 with and without a BOM, incomplete adjacent records, the draw cutoff, and the raw file digest. No tester logs are included.@PastiiJay on GitHub · 2026-11-26 11:28 UTC · original
Thanks, UTF-16 logs from PowerShell were exactly where the report fell over. We will take it together with #70.
@PastiiJay on GitHub · 2026-11-26 11:34 UTC · original
Merged as well, so Windows testers can feed their PowerShell logs straight in.