standalone: shape-world look round 2 -- shards gone, calmer layered relief, still 0.72 s / 1.6 s cold
- Removed the thin automatic room-support slabs that left floating caps (in-view detached thin sheets 9 -> 0; the audit now also fails on isolated small components). - Bounded 16-voxel floor/wall blend (18 rejected: it created a sub-voxel sheet), 3-voxel strata/cave blend, C1 tunnel radius profile (0 radius/slope steps at joins). - Surface relief: broad octave with amplitude modulation instead of uniform bumps. - Cold, no cache: 64 m full detail 0.924 s (8 workers) / 0.715 s (16); whole view 2.016 / 1.605 s. - 1-worker and 6-worker hashes match; 5,642/5,642 passage samples open. Not solved: regular bands in the narrow passage shafts, a few slivers on tile boundaries, faint wall/floor plates; close-view mean surface distance to the owner field got worse (see REPORT.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MmSoF64BbRFmk9C3p1VsBJ
This commit is contained in:
1 parent
7e3f926352
commit
97c0455939
12 files changed
+919
-108
No files matched your search
@@ -0,0 +1,36 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory=$true)][string]$ExecutableName,
|
||||
[Parameter(Mandatory=$true)][string[]]$ExecutableArguments,
|
||||
[Parameter(Mandatory=$true)][string]$LogStem
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$RoundDir = [IO.Path]::GetFullPath($PSScriptRoot)
|
||||
$StandaloneRoot = [IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..\..\..'))
|
||||
if ([IO.Path]::GetFileName($ExecutableName) -ne $ExecutableName) { throw 'ExecutableName must be a filename.' }
|
||||
if ([IO.Path]::GetFileName($LogStem) -ne $LogStem) { throw 'LogStem must be a filename stem.' }
|
||||
$ExecutablePath = Join-Path (Join-Path $StandaloneRoot 'bin') $ExecutableName
|
||||
if (-not (Test-Path -LiteralPath $ExecutablePath -PathType Leaf)) { throw "Executable not found: $ExecutablePath" }
|
||||
$StdoutPath = Join-Path $RoundDir ($LogStem + '.stdout.log')
|
||||
$StderrPath = Join-Path $RoundDir ($LogStem + '.stderr.log')
|
||||
|
||||
$HostProcess = Get-Process -Id $PID
|
||||
$HostProcess.PriorityClass = 'Normal'
|
||||
$HostProcess.ProcessorAffinity = [IntPtr]0xFFFF
|
||||
$Child = Start-Process -FilePath $ExecutablePath -ArgumentList $ExecutableArguments `
|
||||
-WorkingDirectory $StandaloneRoot -WindowStyle Hidden -PassThru `
|
||||
-RedirectStandardOutput $StdoutPath -RedirectStandardError $StderrPath
|
||||
$PeakWorkingSet = 0L
|
||||
while (-not $Child.HasExited) {
|
||||
$Child.Refresh()
|
||||
if ($Child.HasExited) { break }
|
||||
$Child.PriorityClass = 'Normal'
|
||||
$Child.ProcessorAffinity = [IntPtr]0xFFFF
|
||||
$PeakWorkingSet = [Math]::Max($PeakWorkingSet,$Child.WorkingSet64)
|
||||
Start-Sleep -Milliseconds 500
|
||||
}
|
||||
$Child.WaitForExit()
|
||||
$Child.Refresh()
|
||||
Write-Output "RUN_EXIT pid=$($Child.Id) priority=Normal affinity=0xFFFF peak_process_gb=$([math]::Round($PeakWorkingSet/1GB,2)) exit_code=$($Child.ExitCode)"
|
||||
exit $Child.ExitCode
|
||||
Reference in new issue
Block a user