From 2ceaa0d0caec8b8f170e72dac416ac1a577cdb04 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 12 Apr 2026 22:36:51 +0300 Subject: [PATCH] Include profile and mode in benchmark task names for task list clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task names now follow the pattern: NVIDIA Benchmark · · [· GPU ] Examples: NVIDIA Benchmark · standard · sequential (GPU 0, RTX 6000 Pro) NVIDIA Benchmark · stability · parallel NVIDIA Benchmark · standard · ramp 1/4 · GPU 0 NVIDIA Benchmark · standard · ramp 2/4 · GPU 0,1 Co-Authored-By: Claude Sonnet 4.6 --- audit/internal/webui/api.go | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/audit/internal/webui/api.go b/audit/internal/webui/api.go index 3cd94f5..61c1b8c 100644 --- a/audit/internal/webui/api.go +++ b/audit/internal/webui/api.go @@ -571,10 +571,18 @@ func (h *handler) handleAPIBenchmarkNvidiaRun(w http.ResponseWriter, r *http.Req if body.RampUp != nil { rampUp = *body.RampUp } + // Build a descriptive base name that includes profile and mode so the task + // list is self-explanatory without opening individual task detail pages. + profile := strings.TrimSpace(body.Profile) + if profile == "" { + profile = "standard" + } name := taskDisplayName("nvidia-benchmark", "", "") if strings.TrimSpace(body.DisplayName) != "" { name = body.DisplayName } + // Append profile tag. + name = fmt.Sprintf("%s · %s", name, profile) if rampUp && len(body.GPUIndices) > 1 { // Ramp-up mode: resolve GPU list, then create one task per prefix @@ -598,7 +606,7 @@ func (h *handler) handleAPIBenchmarkNvidiaRun(w http.ResponseWriter, r *http.Req var allTasks []*Task for step := 1; step <= len(resolved); step++ { subset := resolved[:step] - stepName := fmt.Sprintf("%s [ramp %d/%d: GPU %s]", name, step, len(resolved), formatGPUIndexList(subset)) + stepName := fmt.Sprintf("%s · ramp %d/%d · GPU %s", name, step, len(resolved), formatGPUIndexList(subset)) t := &Task{ ID: newJobID("benchmark-nvidia"), Name: stepName, @@ -628,6 +636,13 @@ func (h *handler) handleAPIBenchmarkNvidiaRun(w http.ResponseWriter, r *http.Req } } + // For non-ramp tasks append mode tag. + if parallelGPUs { + name = fmt.Sprintf("%s · parallel", name) + } else { + name = fmt.Sprintf("%s · sequential", name) + } + tasks, err := buildNvidiaTaskSet("nvidia-benchmark", 15, time.Now(), taskParams{ GPUIndices: body.GPUIndices, ExcludeGPUIndices: body.ExcludeGPUIndices,