chore: clean up stale and redundant comments across backend and frontend
This commit is contained in:
1 parent
dbf475d55c
commit
08b3089569
64 files changed
+194
-309
No files matched your search
@@ -148,7 +148,6 @@ $rawDir = Join-Path $OutDir 'raw'
|
||||
New-Item -ItemType Directory -Path $binDir -Force | Out-Null
|
||||
New-Item -ItemType Directory -Path $rawDir -Force | Out-Null
|
||||
|
||||
# 1. Build tools (darwin/amd64 guest-bench + local qmp-blockstats)
|
||||
Write-Host "[io-bench] Building guest-bench (darwin/amd64) and qmp-blockstats..."
|
||||
$guestBin = Join-Path $binDir 'guest-bench-darwin-amd64'
|
||||
$qmpBin = Join-Path $binDir 'qmp-blockstats.exe'
|
||||
@@ -175,7 +174,6 @@ try {
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
# 2. Collect environment metadata (section 3.5)
|
||||
Write-Host "[io-bench] Collecting environment metadata..."
|
||||
$osInfo = Get-CimInstance Win32_OperatingSystem
|
||||
$cpuInfo = Get-CimInstance Win32_Processor | Select-Object -First 1
|
||||
@@ -232,14 +230,12 @@ $envMeta = [ordered]@{
|
||||
vm_toml = $vmTomlText
|
||||
}
|
||||
|
||||
# 3. Upload guest-bench and verify
|
||||
$remoteBin = '/tmp/reims-guest-bench'
|
||||
$remoteWorkDir = '$HOME/.reims-io-bench'
|
||||
Write-Host "[io-bench] Uploading guest-bench to ${SshUser}@${SshHost}:${SshPort}..."
|
||||
Invoke-ScpUpload -LocalPath $guestBin -RemotePath $remoteBin
|
||||
[void](Invoke-Ssh -RemoteCmd "chmod +x $remoteBin")
|
||||
|
||||
# 4. Enable QMP latency histograms
|
||||
Write-Host "[io-bench] Enabling QMP latency histogram on device '$Device'..."
|
||||
[void](& $qmpBin histogram -vm-dir $VmDir -device $Device)
|
||||
if ($LASTEXITCODE -ne 0) { throw "Failed to enable QMP latency histogram" }
|
||||
@@ -381,7 +377,6 @@ try {
|
||||
try { [void](& $qmpBin histogram -vm-dir $VmDir -device $Device -clear) } catch { Write-Warning "[io-bench] Failed to clear QMP histogram: $_" }
|
||||
}
|
||||
|
||||
# 5. Aggregate per workload
|
||||
$grouped = @{}
|
||||
foreach ($r in $allRuns) {
|
||||
$k = $r.workload
|
||||
|
||||
Reference in new issue
Block a user