docs(phaseA): Passo 8 benchmark recorded (destroy fixed)

Measure-CIBenchmark.ps1 x4 clean: clone/start/WinRM negligible,
destroy ~4-6s (shim common-param fix), 0 orphans. IP-acquire phase
(20-85s) is the dominant variable cost (VMware Tools IP detect) —
known, non-blocking. No reliable pre-Python PS baseline; infra
metrics tracked in benchmark.jsonl.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Simone
2026-05-17 23:09:56 +02:00
parent f0a94b86b3
commit 36913ab6c6
+17 -11
View File
@@ -284,20 +284,26 @@ Validazione finale di A5 (definizione di "fatto Fase A").
Confronto Python vs PowerShell. Pendenza A4. Confronto Python vs PowerShell. Pendenza A4.
- [ ] Eseguire prima del merge: - [x] Eseguito `.\scripts\Measure-CIBenchmark.ps1` (4 iter):
```powershell | Iter | Clone | Start | IP | WinRM | Destroy | Boot tot |
.\scripts\Measure-CIBenchmark.ps1 | ---- | ----- | ----- | ----- | ----- | ------- | -------- |
``` | 1 | 0.63 | 1.75 | 66.57 | 0.01 | 4.81 | 68.96 |
| 2 | 0.63 | 1.89 | 20.21 | 0.01 | 6.39 | 22.74 |
| 3 | 0.62 | 1.72 | 85.07 | 0.01 | 4.50 | 87.42 |
| 4 | 0.61 | 1.72 | 60.97 | 0.01 | 4.20 | 63.31 |
Annotare il tempo medio per job. Nessun errore, destroy OK (~4-6s), 0 orfani. Clone/start/WinRM
trascurabili; **fase IP (20-85s) = costo dominante e variabile**
(detect IP guest via VMware Tools / ci-report-ip) — noto, non
bloccante. Prerequisito scoperto: lo shim `Remove-BuildVM.ps1`
inoltrava `-ErrorAction` come `--error-action` (destroy falliva ->
orfana); risolto per tutti gli shim blind-loop (commit
`fix(shims): skip PowerShell common params`).
- [ ] Confrontare con il baseline pre-Python (se disponibile in - [ ] (Opzionale) Confronto col baseline pre-Python: nessun baseline
`docs/OPTIMIZATION.md` o in un commit precedente). Tolleranza PS affidabile registrato; metriche infra appese a
target: **±10%**. `F:\CI\Logs\benchmark.jsonl` per trend futuri. Non bloccante.
- [ ] Se delta > 10%: aprire issue in `TODO.md` con dettagli per
profiling. NON è bloccante per il merge della Fase A.
--- ---