Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/fork-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ The status summary is in [README.md](../README.md).

## Newest (2026-11-26)

**`scripts/measure-run.ps1` reads frame lines under Windows PowerShell 5.1.**
The colour codes of `stderr.log` were stripped with the `` `e `` escape,
which only PowerShell 7 knows; under 5.1 no frame line matched and
`summary.txt` gave `lines: 0` and `NaN` for every figure. The escape is now
`[char]27`, the same under both.

**R-7: a sampler chosen by control flow between immediate samplers.**
40 programs (cascade shadows, terrain, `PS_TexturedLit*`,
`PS_TexturedDeferred`, `PS_PuddleDetect`...) failed with a descriptor
Expand Down
2 changes: 1 addition & 1 deletion scripts/measure-run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $since = $start.AddSeconds($From)
$fps = @(); $ms = @(); $gpu = @(); $prep = @(); $back = @(); $draws = @(); $usual = @(); $median = @()
$world = $null; $bad = @()
foreach ($raw in [System.IO.File]::ReadLines((Join-Path $run 'stderr.log'))) {
$line = $raw -replace "`e\[[0-9;]*m", ''
$line = $raw -replace "$([char]27)\[[0-9;]*m", ''
if ($line -notmatch '^(\d{4}-\d\d-\d\dT[\d:.]+)Z') { continue }
$t = [datetime]::Parse($Matches[1], [Globalization.CultureInfo]::InvariantCulture)
if ($line -match 'device removed|DEVICE_REMOVED|DEVICE_HUNG|panicked' -or ($line -match 'leonida_gpu::drvwatch' -and $line -notmatch 'are watched')) {
Expand Down