Include terminal charts in benchmark report

This commit is contained in:
Mikhail Chusavitin
2026-04-06 12:34:57 +03:00
parent 2354ae367d
commit a98c4d7461
3 changed files with 91 additions and 1 deletions

View File

@@ -243,7 +243,7 @@ func (s *System) RunNvidiaBenchmark(ctx context.Context, baseDir string, opts Nv
return "", fmt.Errorf("write result.json: %w", err)
}
report := renderBenchmarkReport(result)
report := renderBenchmarkReportWithCharts(result, loadBenchmarkReportCharts(runDir, selected))
if err := os.WriteFile(filepath.Join(runDir, "report.txt"), []byte(report), 0644); err != nil {
return "", fmt.Errorf("write report.txt: %w", err)
}