Rig launcher: numbers in one form on every PC, and -Compare reads rows written with a decimal comma #2824
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2824
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2824"
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?
@breachato on GitHub · 2026-11-29 17:45 UTC · original
breachato:rig-scripts-invariant-culture→main· +21 −5 · 2 files · 1 commits · open[pr-fix]
What it changes
scripts/play-rig.ps1andscripts/watch-rig.ps1format numbers with the current culture ('{0:N1}' -f) and, in-Compare, read some of them back with[double], which only takes.. On a Windows set to a language with a decimal comma (Italian, German, French, Spanish, ...):30,0 fps,21,9 GB;-Comparebuilds its table with30,5and then computes the A/B verdict from it with[double]'30,5'= 305: three runs at 30 fps against three at 30.5 reportroom=84 vs room=80: +916.7 % median fpsinstead ofno clear winner;rig-runs.csvrows written on such a PC byExport-Csvhold30,5, which the same[double]casts misread later.This:
InvariantCultureat the start of both scripts (only that thread; the console and the game are not affected);F1instead ofN1(no thousands separator, so the value reads back exactly);rig-runs.csvnumbers through a smallGet-Number, which accepts30.5and also the30,5rows already written on decimal-comma PCs (the file's values never have thousands separators).Both files stay ASCII and CRLF.
How it was tested
it-IT, Windows PowerShell 5.1, Pester 3.4:Invoke-Pester .\scripts\tests-Summary"median 30.0 fps", both-Compareverdicts, the leftover-process line,watch-rig.ps1's end line, the preload row).records the run with its memory columns) fails because this PC's CPU has one kind of core, so-Try corespicks no variant; unrelated to the culture.cargo test: not applicable.How to try it
On a Windows set to Italian (or German, French...):
Invoke-Pester .\scripts\tests(Pester 3.4 as shipped with Windows): 6 tests fail onmain, they pass here.30fps and three at30.5intorig-runs.csv(-Try room, or copy the test'sRowhelper) and run.\scripts\play-rig.ps1 -Compare:mainreports+916.7 % median fps, this branchno clear winner.Checked for overlap
play-rig.ps1and its tests (workstation RTX generations), different lines.Assisted by Claude.
5ab6ed043ftodc343751f2dc343751f2to51cded371bView 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.