project-nomad/admin/inertia/hooks
Chris Sherwood 965474d0e4 feat(benchmark): authoritative in-test sysbench numbers + results strip (#1082)
Phase 2 of the live benchmark run experience. Streams sysbench
--report-interval=1 interim lines over a Docker attach so the run view
shows authoritative in-test CPU events/sec and disk read/write MiB/s
(overlaying the Phase 1 host-proxy disk numbers), and fills a
"results so far" strip as each stage completes.

- _runSysbenchCommandStreaming: attaches to the container output for
  live onLine callbacks, but returns the authoritative output via
  container.logs() after exit -- byte-identical to _runSysbenchCommand,
  so the SCORED numbers are unchanged (attach 'data' can flush after
  container.wait() resolves, which would truncate the final report).
- CPU + disk stages stream interim eps: / reads:/writes: MiB/s into
  setStageMetric; memory stays non-streaming (too fast to sample).
- _emitPartialResult broadcasts each finished stage's raw result on the
  progress channel; useBenchmarkRun accumulates them; ResultsSoFar
  renders the chip strip.
- Frontend: live CPU ev/s readout+sparkline, disk hero switches to
  "Benchmark throughput" when in-test numbers arrive.

Browser-validated on NOMAD3 (System-Only): CPU 6536 ev/s live, disk
10399 MB/s benchmark throughput, results strip, final score 68.3.

Part of #1082 (tracker stays open for Phase 3).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-11 20:22:58 -07:00
..
useAppAutoUpdateStatus.ts feat(supply-depot): opt-in automatic updates for installed apps 2026-06-23 04:46:52 +00:00
useAutoUpdateStatus.ts feat(system): add opt-in automatic updates for the core NOMAD app 2026-06-23 04:46:51 +00:00
useBenchmarkRun.ts feat(benchmark): authoritative in-test sysbench numbers + results strip (#1082) 2026-07-11 20:22:58 -07:00
useContentAutoUpdateStatus.ts feat(content): opt-in automatic updates for installed ZIM & map content 2026-06-23 04:47:01 +00:00
useDebounce.ts feat: [wip] custom map and zim downloads 2025-12-02 08:25:09 -08:00
useDiskDisplayData.ts fix(UI): gate NAS Storage label on network filesystem type (#749) 2026-04-21 14:26:28 -07:00
useDownloads.ts feat(content-updates): show size, surface downloads in Active Downloads 2026-05-20 10:16:00 -07:00
useEmbedJobs.ts feat(AI): enable remote AI chat host 2026-04-03 14:26:50 -07:00
useErrorNotification.ts feat: container controls & convienience scripts 2025-08-08 15:07:32 -07:00
useInternetStatus.ts feat: easy setup wizard 2026-01-15 15:54:59 -08:00
useMapMarkers.ts fix(Maps): render notes in marker popup when populated 2026-05-20 10:16:00 -07:00
useMapRegionFiles.ts feat: [wip] new maps system 2025-11-30 22:29:16 -08:00
useOllamaModelDownloads.ts fix(AI): allow cancelling in-progress model downloads and ensure consistent progress UI (#701) 2026-04-21 14:26:28 -07:00
useServiceInstallationActivity.ts feat: display model download progress 2026-02-06 16:22:23 -08:00
useServiceInstalledStatus.tsx feat(AI): chat suggestions and assistant settings 2026-02-01 07:24:21 +00:00
useSystemInfo.ts fix(CuratedCategories): improve fetching from Github 2026-01-19 14:41:51 -08:00
useSystemSetting.ts feat(AI): chat suggestions and assistant settings 2026-02-01 07:24:21 +00:00
useTheme.ts feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
useUpdateAvailable.ts feat: cron job for system update checks 2026-02-06 15:40:30 -08:00