- Messlaeufe rechnen nur Minuten (LBR 2000 Haende 57 CPU-min, 6-max 20 000 Deals 15-18 CPU-min); die 10 h der Nacht 15./16.11. waren ein Stillstand aller Idle-Laeufe (01:19-11:20), keine Rechnung. MULTIWAY=voll kostet +0-4 %, nicht 4x. - TrSolver: Showdown mit Rake ohne Allokation (show_raked_into). - Equity: Gegner-Kombos als flache [Card; 2]-Liste (combo_list, VillainRange::Pairs). - LBR 1,18x (Fingerabdruck ea0779c77e255f95, 28 598 Antworten, Dump byte-gleich), 6-max 1,13x / 1,17x mit MULTIWAY=voll (md5 aller Bloecke = Queue-Binary). - Profiler ohne Adminrechte: messung/perf/werkzeug/stichprobe.py; Bericht messung/perf/BERICHT.md (GPU: nein; Statistik: Fruehstopp auch fuer Gewinner). - messung_perf/rate nach messung/perf/rate (Ordner des Live-Stands). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
1.1 KiB
PowerShell
14 lines
1.1 KiB
PowerShell
# probe.ps1 <exe> <log> <envfile> <von> <bis>: perf_probe lbr, Idle, env from file, cwd exploit-live.
|
|
param([string]$exe, [string]$log, [string]$envfile, [string]$von, [string]$bis)
|
|
$psi = New-Object System.Diagnostics.ProcessStartInfo
|
|
$psi.FileName = $exe; $psi.Arguments = "lbr $von $bis"
|
|
$psi.WorkingDirectory = 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88'
|
|
$psi.UseShellExecute = $false; $psi.RedirectStandardError = $true; $psi.RedirectStandardOutput = $true
|
|
foreach ($kv in ((Get-Content -Raw $envfile).Trim() -split ';')) { if ($kv -match '^([^=]+)=(.*)$') { $psi.EnvironmentVariables[$matches[1]] = $matches[2] } }
|
|
$psi.EnvironmentVariables["PERF_DUMP"] = "$log.dump"
|
|
$t = [Diagnostics.Stopwatch]::StartNew()
|
|
$p = [Diagnostics.Process]::Start($psi); $p.PriorityClass = 'Idle'
|
|
$err = $p.StandardError.ReadToEndAsync(); $o = $p.StandardOutput.ReadToEnd(); $p.WaitForExit()
|
|
"wall {0:N1} s cpu {1:N1} s exit {2}" -f $t.Elapsed.TotalSeconds, $p.TotalProcessorTime.TotalSeconds, $p.ExitCode | Out-File $log
|
|
$o | Out-File $log -Append; $err.Result | Out-File $log -Append
|