adding system info to benchmark display

This commit is contained in:
Donato Capitella
2026-01-11 10:02:22 +00:00
parent 259bca04de
commit d6c7456bd0
6 changed files with 90 additions and 6 deletions
+26
View File
@@ -29,6 +29,7 @@ document.addEventListener("DOMContentLoaded", async () => {
try {
const res = await fetch("results.json");
const data = await res.json();
updateHeader(data.meta || {});
prepareData(data?.runs || []);
initializeControls();
renderTables();
@@ -765,3 +766,28 @@ function setupResizeOverlay(tableWrap, backendList, table) {
resizeObserver.observe(tableWrap);
tableWrap._overlayResize = resizeObserver;
}
function updateHeader(meta) {
const sysInfo = document.getElementById("sys-info");
const runInfo = document.getElementById("run-info");
const info = meta.system_info || {};
let buildStr = "llama.cpp build unknown";
if (meta.llamacpp_builds && meta.llamacpp_builds.length > 0) {
const b = meta.llamacpp_builds[meta.llamacpp_builds.length - 1];
buildStr = `llama.cpp build ${b.hash} (${b.number})`;
}
if (sysInfo && (info.distro || info.kernel)) {
const parts = [];
if (info.distro) parts.push(info.distro);
if (info.kernel) parts.push(`Linux ${info.kernel}`);
if (info.linux_firmware) parts.push(info.linux_firmware);
parts.push(buildStr);
sysInfo.textContent = parts.join(" · ");
}
if (runInfo && info.timestamp) {
runInfo.innerHTML = `Benchmarks captured ${info.timestamp} · Repo: <a href="https://github.com/kyuz0/amd-strix-halo-toolboxes" target="_blank" rel="noreferrer">kyuz0/amd-strix-halo-toolboxes</a>`;
}
}
+4 -3
View File
@@ -12,9 +12,10 @@
<header>
<h1>AMD Ryzen AI MAX+ 395 “Strix Halo” — Benchmark Grid</h1>
<p>Framework Desktop · AMD Ryzen AI MAX 395+ · 128GB unified RAM</p>
<p>Fedora 42 · Linux 6.18.0-0.rc5.243.vanilla.fc42.x86_64 · llama.cpp build 1c398dc9e (7034)</p>
<p>Benchmarks captured 14 Nov 2025 · Repo: <a href="https://github.com/kyuz0/amd-strix-halo-toolboxes"
target="_blank" rel="noreferrer">kyuz0/amd-strix-halo-toolboxes</a></p>
<p id="sys-info">Fedora 42 · Linux 6.18.0-0.rc5.243.vanilla.fc42.x86_64 · llama.cpp build 1c398dc9e (7034)</p>
<p id="run-info">Benchmarks captured 14 Nov 2025 · Repo: <a
href="https://github.com/kyuz0/amd-strix-halo-toolboxes" target="_blank"
rel="noreferrer">kyuz0/amd-strix-halo-toolboxes</a></p>
<div class="legend">
<label>Legend</label>
<div class="legend-pills">
+7 -2
View File
@@ -1,7 +1,12 @@
{
"meta": {
"generated_at": "2026-01-10T10:27:18Z",
"os_kernel": "Fedora 42 \u2014 Linux 6.15.9-201.fc42.x86_64 (Sat Aug 2 11:37:34 UTC 2025)",
"generated_at": "2026-01-11T10:01:18Z",
"system_info": {
"distro": "Fedora Linux 42 (Workstation Edition)",
"kernel": "6.18.3-100.fc42.x86_64",
"linux_firmware": "linux-firmware-20251111-1.fc42.noarch",
"timestamp": "09 Jan 2026"
},
"llamacpp_builds": [
{
"hash": "9c142e3a2",