Merge pull request #1274 from ludovic111/feat/site-releases-bench
🤖 Agent: merged after verify passed; Ludovic approved the site design. The Releases and Benchmarks pages go live with this.
This commit is contained in:
+4
-2
@@ -20,7 +20,7 @@
|
||||
Referrer-Policy strict-origin-when-cross-origin
|
||||
X-Frame-Options DENY
|
||||
Permissions-Policy "interest-cohort=(), browsing-topics=(), camera=(), microphone=(), geolocation=()"
|
||||
Content-Security-Policy "default-src 'self'; script-src 'self' {$CSP_SCRIPT}; style-src 'self' {$CSP_STYLE}; img-src 'self' data: https://avatars.githubusercontent.com; font-src 'self'; connect-src 'self' https://api.github.com https://raw.githubusercontent.com; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
|
||||
Content-Security-Policy "default-src 'self'; script-src 'self' {$CSP_SCRIPT}; style-src 'self' {$CSP_STYLE}; img-src 'self' data: https://avatars.githubusercontent.com; font-src 'self'; connect-src 'self' https://api.github.com https://raw.githubusercontent.com https://telemetry.playhorizon.dev; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
|
||||
-Server
|
||||
}
|
||||
@assets path /assets/*
|
||||
@@ -31,9 +31,11 @@
|
||||
redir /server /docs/hosting permanent
|
||||
redir /server.html /docs/hosting permanent
|
||||
rewrite /privacy /privacy.html
|
||||
rewrite /releases /releases.html
|
||||
rewrite /benchmarks /benchmarks.html
|
||||
@doc path_regexp doc ^/docs/([a-z-]+)$
|
||||
rewrite @doc /docs/{re.doc.1}.html
|
||||
@pages path / /index.html /404.html /privacy.html /docs /docs/* /sitemap.xml
|
||||
@pages path / /index.html /404.html /privacy.html /releases /releases.html /benchmarks /benchmarks.html /benchmarks.json /docs /docs/* /sitemap.xml
|
||||
header @pages Cache-Control "no-cache"
|
||||
@legal path /LEGAL.md /fonts/*.txt
|
||||
header @legal Content-Type "text/plain; charset=utf-8"
|
||||
|
||||
+34
-8
@@ -2,12 +2,12 @@
|
||||
|
||||
Live at **https://playhorizon.dev**.
|
||||
|
||||
A landing page and a documentation section in Horizon's design language (`docs/design-system.md`), with the tokens of
|
||||
A landing page, a Releases page, a Benchmarks page and a documentation section in Horizon's design language (`docs/design-system.md`), with the tokens of
|
||||
`crates/horizon-theme` (generated into `src/tokens.css` by `cargo run -p xtask -- tokens`):
|
||||
the Blocks look: Pixelify Sans headings over Geist text, Horizon's purple in a light and a dark
|
||||
appearance (the system's, or the toggle's), square panels with an outline, a bevel and a lip, a
|
||||
stone texture and a pixel landscape drawn in code (`scripts/art.mjs`), and short, eased motion. A headline and the download, then a scroll through what it is, the screenshots, the parity grid, the launcher, the patch
|
||||
notes, the community links and the contributors. Plain HTML, CSS and JavaScript; no framework and
|
||||
stone texture and a pixel landscape drawn in code (`scripts/art.mjs`), and short, eased motion. A headline and the download, then a scroll through what it is, the screenshots, the parity grid, the launcher, the newest
|
||||
releases, the community links and the contributors. Plain HTML, CSS and JavaScript; no framework and
|
||||
no runtime dependencies.
|
||||
|
||||
## Layout
|
||||
@@ -20,14 +20,24 @@ serve.mjs a tiny static server for local checks
|
||||
src/index.html the page, with {{placeholders}} build.mjs fills
|
||||
src/404.html the not-found page
|
||||
src/privacy.html what the launcher can send when players allow it, retention, deletion (/privacy)
|
||||
src/releases.html every release, newest first, with what it adds and fixes, its notes and downloads (/releases)
|
||||
src/benchmarks.html Horizon against vanilla 26.3 on our machines, the hardware picker, players' results (/benchmarks)
|
||||
src/docs.html the template of every documentation page (/docs/...), with its left navigation
|
||||
src/tokens.css the design tokens, generated from crates/horizon-theme (do not edit)
|
||||
src/style.css every style, on top of the tokens
|
||||
src/main.js download buttons, patch notes, links, contributors, nav and menu, tabs, lightbox, motion
|
||||
src/main.js the home page: download buttons, recent releases, links, contributors, nav, tabs, lightbox, motion
|
||||
src/chrome.js the light/dark switch, the phone menu and GitHub fetching, shared by the pages
|
||||
src/releases-page.js the Releases page: the channel filter and the refresh from GitHub
|
||||
src/benchmarks-page.js the Benchmarks page: players' results from the telemetry server, the picker
|
||||
src/bench.js the Benchmarks tables, shared by build and page
|
||||
src/hardware.js the spec table estimates use (GPU TFLOPS and bandwidth, CPU single-thread score)
|
||||
src/estimate.js estimates for unmeasured hardware from the nearest measured machine
|
||||
src/markdown.js a small Markdown renderer (escapes everything), shared by build and page
|
||||
src/releases.js the patch notes' markup, shared by build and page
|
||||
src/releases.js the home page's "Recently added" and the Releases page's markup, shared by build and page
|
||||
src/contributors.js the contributors' filtering and markup, shared by build and page
|
||||
public/ fonts, screenshots, icons, og.png, robots.txt: copied as is (sitemap.xml is written by the build)
|
||||
public/ fonts, screenshots, icons, og.png, robots.txt, benchmarks.json: copied as is (sitemap.xml is written by the build)
|
||||
data/benchmarks/ our raw benchmark reports (tools/perf_bench.py) and fleet.json, the list scripts/benchmarks.mjs reads
|
||||
scripts/benchmarks.mjs benchmark reports -> public/benchmarks.json (ours, and players' groups of 3+ installs)
|
||||
scripts/assets.mjs rebuilds public/ from the repo (fonts to WOFF2, images to WebP, the pixel art)
|
||||
scripts/art.mjs draws the stone tile and the hero's landscape (PNG, one pixel per texel)
|
||||
scripts/shots.mjs Playwright screenshots at every width, and og.png
|
||||
@@ -46,8 +56,9 @@ shots/ (gitignored) full-page screenshots at 360–1920 px, a 1250×
|
||||
the checkout; on Railway, which builds only this folder, from `main` on GitHub. The build
|
||||
fails if the README has no parity table, so a broken README never deploys.
|
||||
- **Fetched by the page**: the releases (the download button picks the newest
|
||||
`launcher-v*` release's asset for the visitor's OS, and the three latest game releases'
|
||||
notes are rendered), the contributors (avatars come from `avatars.githubusercontent.com`),
|
||||
`launcher-v*` release's asset for the visitor's OS, the home page lists the newest game releases, and
|
||||
the Releases page reloads its list when GitHub has a newer release), players' benchmark results
|
||||
(`GET https://telemetry.playhorizon.dev/v1/benchmarks/summary`, 3-second timeout), the contributors (avatars come from `avatars.githubusercontent.com`),
|
||||
and `links.json` from `main`. Each
|
||||
falls back to what was built in, and the download button to the releases page.
|
||||
|
||||
@@ -107,3 +118,18 @@ GitHub's anonymous rate limit is hit.
|
||||
- Parity is worded as the README words it: 100% of what the harnesses compare.
|
||||
- No cookies, analytics, trackers or third-party fonts and scripts.
|
||||
- Motion stops under `prefers-reduced-motion`; nothing hijacks the scroll.
|
||||
|
||||
## Benchmarks
|
||||
|
||||
`public/benchmarks.json` is what the Benchmarks page shows: `{ format: "horizon-benchmark-summary", version: 1,
|
||||
generated, min_installs, groups }`, one group per GPU, CPU, render distance and game (`horizon`, `vanilla`) with
|
||||
`medians` (`avg_fps`, `low_1pct_fps`, `p95_ms`, `world_ms`, `chunk_load_ms`, `rss_peak_mb`, `rss_steady_mb`).
|
||||
Groups `"source": "us"` are our runs (with the machine, date, version and the four scenes); groups `"source":
|
||||
"players"` come from players' `benchmark` uploads (docs/telemetry.md) and need at least `min_installs` (3)
|
||||
different installs. The telemetry server's `GET /v1/benchmarks/summary` answers in the same shape; the page asks it
|
||||
for players' groups and keeps the baked ones when it doesn't answer. The rules are in `scripts/benchmarks.mjs`, with
|
||||
a fixture set (`scripts/fixtures/benchmarks/`) the server's test shares.
|
||||
|
||||
To publish new measurements: run `tools/perf_bench.py` for Horizon and vanilla on a machine (docs/benchmark.md), copy
|
||||
the reports into `data/benchmarks/`, list them in `data/benchmarks/fleet.json`, then
|
||||
`node scripts/benchmarks.mjs --ours data/benchmarks/fleet.json`.
|
||||
|
||||
+96
-18
@@ -11,7 +11,9 @@ import { createHash } from "node:crypto";
|
||||
import { join, dirname } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { markdown, inline, section, escape } from "./src/markdown.js";
|
||||
import { releasesHtml } from "./src/releases.js";
|
||||
import { recentHtml, releasesPageHtml } from "./src/releases.js";
|
||||
import { machinesHtml, playersHtml } from "./src/bench.js";
|
||||
import { CPUS, GPUS, singleThread } from "./src/hardware.js";
|
||||
import { isGame, isLauncher, launcherVersion, newestFirst } from "./src/versions.js";
|
||||
import { contributorsFrom, contributorsHtml } from "./src/contributors.js";
|
||||
|
||||
@@ -41,11 +43,18 @@ try {
|
||||
|
||||
// An optional token (a Railway variable, or `gh auth token` locally) lifts the rate limit.
|
||||
const githubHeaders = { Accept: "application/vnd.github+json", ...(process.env.GITHUB_TOKEN ? { Authorization: `Bearer ${process.env.GITHUB_TOKEN}` } : {}) };
|
||||
// Every release (the Releases page lists them all), a page of 100 at a time.
|
||||
let releases = [];
|
||||
try {
|
||||
const res = await fetch(`https://api.github.com/repos/${REPO}/releases?per_page=100`, { headers: githubHeaders, signal: AbortSignal.timeout(15000) });
|
||||
if (res.ok) releases = (await res.json()).filter((r) => !r.draft);
|
||||
else console.warn(`releases: ${res.status} from GitHub; the page will load them itself`);
|
||||
let res;
|
||||
for (let page = 1; page <= 5; page++) {
|
||||
res = await fetch(`https://api.github.com/repos/${REPO}/releases?per_page=100&page=${page}`, { headers: githubHeaders, signal: AbortSignal.timeout(15000) });
|
||||
if (!res.ok) break;
|
||||
const batch = await res.json();
|
||||
releases.push(...batch.filter((r) => !r.draft));
|
||||
if (batch.length < 100) break;
|
||||
}
|
||||
if (!res.ok) console.warn(`releases: ${res.status} from GitHub; the pages will load them themselves`);
|
||||
// A day of betas can push the stable release out of the newest 100: it is GitHub's "latest" (betas never are).
|
||||
if (res.ok && !releases.some((r) => isGame(r.tag_name) && !r.prerelease)) {
|
||||
const latest = await fetch(`https://api.github.com/repos/${REPO}/releases/latest`, { headers: githubHeaders, signal: AbortSignal.timeout(15000) });
|
||||
@@ -110,14 +119,21 @@ const parityCells = body
|
||||
const matching = body.filter(([, score]) => Number(score) === 1).length;
|
||||
const parityHeadline = matching === body.length ? "Every subsystem matches vanilla." : `${matching} of ${body.length} subsystems match vanilla.`;
|
||||
|
||||
// --- The latest notes -------------------------------------------------
|
||||
// --- The releases ----------------------------------------------------------------------
|
||||
|
||||
// Stable releases only: betas become stable 6 hours later (docs/release-flow.md, "Channels"). Newest first by
|
||||
// tag: every 0.2 tag is newer than the dated ones (src/versions.js).
|
||||
// Newest first by tag: every 0.2 tag is newer than the dated ones (src/versions.js). Alpha builds are GitHub
|
||||
// pre-releases, Stable the others (docs/release-flow.md, "Channels").
|
||||
const byTag = (a, b) => newestFirst(a.tag_name, b.tag_name);
|
||||
const game = releases.filter((r) => isGame(r.tag_name) && !r.prerelease).sort(byTag).slice(0, 3);
|
||||
const ours = releases.filter((r) => isGame(r.tag_name) || isLauncher(r.tag_name)).sort(byTag);
|
||||
const game = ours.filter((r) => isGame(r.tag_name));
|
||||
const launcher = releases.filter((r) => isLauncher(r.tag_name) && !r.prerelease).sort(byTag)[0];
|
||||
|
||||
// --- The benchmarks ----------------------------------------------------------------------
|
||||
|
||||
// public/benchmarks.json: our measurements (scripts/benchmarks.mjs from data/benchmarks/fleet.json) and, once the
|
||||
// telemetry server has some, players' groups. The page shows it baked and asks the server for newer player results.
|
||||
const benchSummary = JSON.parse(await readFile(join(site, "public", "benchmarks.json"), "utf8"));
|
||||
|
||||
// --- The page --------------------------------------------------------------------------
|
||||
|
||||
const fingerprint = (text) => createHash("sha256").update(text).digest("hex").slice(0, 10);
|
||||
@@ -152,7 +168,9 @@ await writeFile(join(dist, "favicon.ico"), Buffer.concat([ico, png32]));
|
||||
// The page's modules, fingerprinted; each import of a shared module is rewritten to its name.
|
||||
const names = {};
|
||||
const rewrite = (code) => code.replace(/"\.\/(\w+\.js)"/g, (all, file) => (names[file] ? `"./${names[file]}"` : all));
|
||||
for (const file of ["markdown.js", "releases.js", "contributors.js", "versions.js", "main.js"]) {
|
||||
// Dependencies before what imports them.
|
||||
const modules = ["markdown.js", "versions.js", "chrome.js", "hardware.js", "estimate.js", "releases.js", "contributors.js", "bench.js", "main.js", "releases-page.js", "benchmarks-page.js"];
|
||||
for (const file of modules) {
|
||||
const code = rewrite(await readFile(join(site, "src", file), "utf8"));
|
||||
names[file] = `${file.replace(".js", "")}.${fingerprint(code)}.js`;
|
||||
await writeFile(join(dist, "assets", names[file]), code);
|
||||
@@ -180,9 +198,53 @@ const baked = {
|
||||
})),
|
||||
};
|
||||
|
||||
const notesHtml =
|
||||
releasesHtml(game) ||
|
||||
`<p class="lede">The release notes could not be loaded here.</p><a class="button secondary" href="https://github.com/${REPO}/releases">Read them on GitHub</a>`;
|
||||
const unavailable = `<p class="lede">The release notes could not be loaded here.</p><a class="button secondary" href="https://github.com/${REPO}/releases">Read them on GitHub</a>`;
|
||||
|
||||
// The top bar and the footer of the pages beside the home page (Releases, Benchmarks).
|
||||
const navLinks = [["/#about", "About"], ["/releases", "Releases"], ["/benchmarks", "Benchmarks"], ["/docs/", "Docs"]];
|
||||
const siteNav = (current) => ` <header class="nav is-scrolled" id="top">
|
||||
<div class="nav-inner">
|
||||
<a class="nav-mark" href="/" aria-label="Horizon, home"><svg class="mark" viewBox="0 0 16 16" aria-hidden="true"><path class="mark-stem" d="M4 3h2v4H4zM10 3h2v4h-2z"/><path class="mark-low" d="M4 8h2v4H4zM10 8h2v4h-2z"/><path class="mark-line" d="M1 7h14v1H1z"/></svg>Horizon</a>
|
||||
<nav class="nav-links" aria-label="Pages">
|
||||
${navLinks.map(([href, label]) => ` <a href="${href}"${href === current ? ' aria-current="page"' : ""}>${label}</a>`).join("\n")}
|
||||
</nav>
|
||||
<div class="nav-end">
|
||||
<button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span data-theme-label>Dark</span></button>
|
||||
<a class="nav-github" href="https://github.com/${REPO}">GitHub</a>
|
||||
<a class="button primary small" href="/docs/install">Download</a>
|
||||
<button class="menu-button" type="button" aria-expanded="false" aria-controls="menu"><span class="menu-label">Menu</span><span class="menu-icon" aria-hidden="true"></span></button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="menu" id="menu" hidden>
|
||||
<nav aria-label="Pages">
|
||||
<a href="/">Home</a>
|
||||
${navLinks.map(([href, label]) => ` <a href="${href}">${label}</a>`).join("\n")}
|
||||
</nav>
|
||||
<div class="menu-foot">
|
||||
<a class="button secondary large" href="https://github.com/${REPO}">GitHub</a>
|
||||
<p>Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
|
||||
</div>
|
||||
</div>`;
|
||||
const siteFooter = ` <footer class="footer">
|
||||
<div class="container">
|
||||
<div class="footer-bar">
|
||||
<span class="footer-mark">Made in the open, in Rust.</span>
|
||||
<nav class="footer-links" aria-label="Elsewhere"><a href="/">Home</a><a href="/releases">Releases</a><a href="/benchmarks">Benchmarks</a><a href="/docs/">Docs</a><a href="https://github.com/${REPO}">GitHub</a><a href="/privacy">Privacy</a><a href="/LEGAL.md">Assets</a></nav>
|
||||
</div>
|
||||
</div>
|
||||
<p class="footer-word" aria-hidden="true">horizon</p>
|
||||
</footer>`;
|
||||
|
||||
const fixed = (x, n) => Number(x).toFixed(n);
|
||||
const specTable =
|
||||
`<table class="bench-table spec"><thead><tr><th scope="col">Graphics card</th><th scope="col">FP32 TFLOPS</th><th scope="col">Bandwidth, GB/s</th></tr></thead><tbody>` +
|
||||
GPUS.map((g) => `<tr><th scope="row">${escape(g.name)}</th><td class="num">${fixed(g.tflops, 1)}</td><td class="num">${g.gbps}</td></tr>`).join("") +
|
||||
`</tbody></table><table class="bench-table spec"><thead><tr><th scope="col">Processor</th><th scope="col">Boost, GHz</th><th scope="col">Generation factor</th><th scope="col">Single-thread score</th></tr></thead><tbody>` +
|
||||
CPUS.map((c) => `<tr><th scope="row">${escape(c.name)}</th><td class="num">${fixed(c.ghz, 2)}</td><td class="num">${fixed(c.ipc, 2)}</td><td class="num">${fixed(singleThread(c), 2)}</td></tr>`).join("") +
|
||||
`</tbody></table>`;
|
||||
const options = (list, selected) => list.map((x) => `<option${x.name === selected ? " selected" : ""}>${escape(x.name)}</option>`).join("");
|
||||
const playersGroups = benchSummary.groups.filter((g) => g.source === "players");
|
||||
|
||||
const values = {
|
||||
CSS: `/assets/${cssName}`,
|
||||
@@ -195,7 +257,21 @@ const values = {
|
||||
PARITY_CELLS: parityCells,
|
||||
PARITY_HEADLINE: parityHeadline,
|
||||
SUBSYSTEMS: String(body.length),
|
||||
NOTES: notesHtml,
|
||||
RECENT: recentHtml(game) || unavailable,
|
||||
SITE_NAV: "",
|
||||
SITE_FOOTER: siteFooter,
|
||||
RELEASES_JS: `/assets/${names["releases-page.js"]}`,
|
||||
RELEASE_LIST: releasesPageHtml(ours) || unavailable,
|
||||
RELEASE_COUNT: ours.length ? `${ours.length} releases` : "",
|
||||
NEWEST_TAG: escape(ours[0]?.tag_name || ""),
|
||||
BENCH_JS: `/assets/${names["benchmarks-page.js"]}`,
|
||||
MACHINES: machinesHtml(benchSummary),
|
||||
PLAYERS: playersHtml(benchSummary),
|
||||
PLAYERS_SOURCE: `${playersGroups.length ? `${playersGroups.length} groups` : "No groups yet"}, as of ${benchSummary.generated.slice(0, 10)}. The page asks the telemetry server for newer ones.`,
|
||||
GPU_OPTIONS: options(GPUS, "NVIDIA GeForce RTX 4060"),
|
||||
CPU_OPTIONS: options(CPUS, "AMD Ryzen 5 5600X"),
|
||||
SPEC_TABLE: specTable,
|
||||
BENCH_DATA: JSON.stringify(benchSummary).replace(/</g, "\\u003c"),
|
||||
LAUNCHER_META: `${launcher ? `Launcher ${escape(launcherVersion(launcher.tag_name))} for` : "For"} Linux x86-64, macOS on Apple Silicon and Windows x64.`,
|
||||
DISCORD: escape(links.discord || DEFAULT_LINKS.discord),
|
||||
SPONSOR: escape(links.sponsor || DEFAULT_LINKS.sponsor),
|
||||
@@ -277,12 +353,14 @@ const docPages = renderedDocs.map((d, i) => {
|
||||
};
|
||||
});
|
||||
|
||||
const pages = ["index.html", "404.html", "privacy.html"];
|
||||
const pages = ["index.html", "404.html", "privacy.html", "releases.html", "benchmarks.html"];
|
||||
const currentPath = { "releases.html": "/releases", "benchmarks.html": "/benchmarks" };
|
||||
for (const page of pages) {
|
||||
let html = await readFile(join(site, "src", page), "utf8");
|
||||
const own = { ...values, SITE_NAV: siteNav(currentPath[page]) };
|
||||
html = html.replace(/\{\{(\w+)\}\}/g, (all, key) => {
|
||||
if (!(key in values)) throw new Error(`${page}: unknown placeholder ${all}`);
|
||||
return values[key];
|
||||
if (!(key in own)) throw new Error(`${page}: unknown placeholder ${all}`);
|
||||
return own[key];
|
||||
});
|
||||
html = html.replace(/href="\/(favicon\.svg|favicon-32\.png|apple-touch-icon\.png)"/g, (all, icon) => `href="/${icon}?v=${iconVersions[icon]}"`);
|
||||
await writeFile(join(dist, page), html);
|
||||
@@ -306,7 +384,7 @@ const hashes = (re) => [...new Set([...allHtml.matchAll(re)].map((m) => `'sha256
|
||||
await writeFile(join(dist, ".csp-script"), hashes(/<script>([\s\S]*?)<\/script>/g));
|
||||
await writeFile(join(dist, ".csp-style"), hashes(/<style>([\s\S]*?)<\/style>/g));
|
||||
|
||||
const urls = ["/", ...docs.map((d) => d.path), "/privacy"];
|
||||
const urls = ["/", "/releases", "/benchmarks", ...docs.map((d) => d.path), "/privacy"];
|
||||
await writeFile(
|
||||
join(dist, "sitemap.xml"),
|
||||
`<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n${urls.map((u) => ` <url><loc>https://playhorizon.dev${u}</loc></url>`).join("\n")}\n</urlset>\n`,
|
||||
@@ -314,5 +392,5 @@ await writeFile(
|
||||
|
||||
console.log(
|
||||
`built dist/ from ${readmeFrom}: ${body.length} subsystems, ${percent}, ${harnesses} harnesses, ` +
|
||||
`${game.length} game releases baked${launcher ? `, launcher ${launcher.tag_name}` : ""}, ${contributors.length} contributors, ${docs.length} docs pages`,
|
||||
`${ours.length} releases (${game.length} game)${launcher ? `, launcher ${launcher.tag_name}` : ""}, ${benchSummary.groups.length} benchmark rows, ${contributors.length} contributors, ${docs.length} docs pages`,
|
||||
);
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
[
|
||||
{
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"reports": [
|
||||
"macmini/horizon-macmini-rd12.json"
|
||||
],
|
||||
"version": "v2026.10.22.04",
|
||||
"capped_fps": 144,
|
||||
"note": "On macOS this Horizon build presents its frames in step with the 144 Hz display even with VSync off, so its average frame rate here is capped at 144: compare the 1% lows and frame times instead. The Mac mini was also running other jobs during the runs (CI, simulators; 1-minute load average 20 to 56 on 14 threads), which costs both games, vanilla more at render distance 32."
|
||||
},
|
||||
{
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"reports": [
|
||||
"macmini/horizon-macmini-rd32.json"
|
||||
],
|
||||
"version": "v2026.10.22.04",
|
||||
"capped_fps": 144
|
||||
},
|
||||
{
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"reports": [
|
||||
"macmini/vanilla-macmini-rd12.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"reports": [
|
||||
"macmini/vanilla-macmini-rd32.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"machine": "ThinkPad (i7-7500U, HD Graphics 620)",
|
||||
"reports": [
|
||||
"thinkpad/horizon-thinkpad-rd12.json"
|
||||
],
|
||||
"version": "v2026.10.22.04",
|
||||
"note": "A 2016 laptop: 2 cores / 4 threads and Intel integrated graphics, Linux with Mesa 26.1.8 (Horizon on Vulkan, vanilla on OpenGL). It has no screen attached, so both games drew to a GPU compositor (sway on the Intel GPU) in a 1280x720 window. Horizon ran two flights per scene, vanilla two separate games of one. Render distance 32 is not shown: in 5 minutes neither game finished loading the spawn, and given 25, Horizon kept only about 900 to 1,400 chunk columns resident on this machine instead of the 3,200 a full view holds, so the two games would not have drawn the same world."
|
||||
},
|
||||
{
|
||||
"machine": "ThinkPad (i7-7500U, HD Graphics 620)",
|
||||
"reports": [
|
||||
"thinkpad/vanilla-thinkpad-r1-rd12.json",
|
||||
"thinkpad/vanilla-thinkpad-r2-rd12.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,758 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T18:57:41Z",
|
||||
"app": {
|
||||
"name": "horizon-client",
|
||||
"version": "0.1.0",
|
||||
"commit": "02260048"
|
||||
},
|
||||
"hardware": {
|
||||
"os": "macos",
|
||||
"arch": "aarch64",
|
||||
"cpu_threads": 14,
|
||||
"os_version": "27.0.1",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"ram_mb": 65536,
|
||||
"gpu": {
|
||||
"name": "Apple M4 Pro",
|
||||
"vendor": "",
|
||||
"driver": "",
|
||||
"backend": "metal",
|
||||
"kind": "integrated"
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 12,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 3,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 55.691,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 3,
|
||||
"mean": 2345.372,
|
||||
"stdev": 439.947,
|
||||
"min": 2086.467,
|
||||
"max": 2853.347,
|
||||
"ci95": 1092.977
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 3,
|
||||
"mean": 11074.92,
|
||||
"stdev": 1749.229,
|
||||
"min": 9853.098,
|
||||
"max": 13078.729,
|
||||
"ci95": 4345.676
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 6990.177,
|
||||
"stdev": 715.08,
|
||||
"min": 6305.128,
|
||||
"max": 7731.914,
|
||||
"ci95": 1776.501
|
||||
},
|
||||
"chunks.village.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 15984.667,
|
||||
"stdev": 344.848,
|
||||
"min": 15711.0,
|
||||
"max": 16372.0,
|
||||
"ci95": 856.72
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.667,
|
||||
"stdev": 0.332,
|
||||
"min": 143.283,
|
||||
"max": 143.863,
|
||||
"ci95": 0.826
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 97.283,
|
||||
"stdev": 17.85,
|
||||
"min": 77.659,
|
||||
"max": 112.553,
|
||||
"ci95": 44.345
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 86.892,
|
||||
"stdev": 10.682,
|
||||
"min": 74.96,
|
||||
"max": 95.564,
|
||||
"ci95": 26.537
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 10500.388,
|
||||
"stdev": 2322.043,
|
||||
"min": 8609.286,
|
||||
"max": 13092.051,
|
||||
"ci95": 5768.741
|
||||
},
|
||||
"chunks.forest.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 18418.333,
|
||||
"stdev": 765.36,
|
||||
"min": 17536.0,
|
||||
"max": 18903.0,
|
||||
"ci95": 1901.414
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.813,
|
||||
"stdev": 0.113,
|
||||
"min": 143.684,
|
||||
"max": 143.893,
|
||||
"ci95": 0.28
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 100.192,
|
||||
"stdev": 11.893,
|
||||
"min": 87.358,
|
||||
"max": 110.84,
|
||||
"ci95": 29.546
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 83.715,
|
||||
"stdev": 6.798,
|
||||
"min": 75.936,
|
||||
"max": 88.513,
|
||||
"ci95": 16.888
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 10672.488,
|
||||
"stdev": 6950.689,
|
||||
"min": 6083.379,
|
||||
"max": 18669.422,
|
||||
"ci95": 17267.862
|
||||
},
|
||||
"chunks.ocean.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 15184.667,
|
||||
"stdev": 108.039,
|
||||
"min": 15096.0,
|
||||
"max": 15305.0,
|
||||
"ci95": 268.404
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.702,
|
||||
"stdev": 0.224,
|
||||
"min": 143.449,
|
||||
"max": 143.877,
|
||||
"ci95": 0.558
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 97.956,
|
||||
"stdev": 16.083,
|
||||
"min": 82.809,
|
||||
"max": 114.835,
|
||||
"ci95": 39.956
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 83.818,
|
||||
"stdev": 14.218,
|
||||
"min": 74.969,
|
||||
"max": 100.219,
|
||||
"ci95": 35.324
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 9587.759,
|
||||
"stdev": 2756.675,
|
||||
"min": 7452.155,
|
||||
"max": 12699.737,
|
||||
"ci95": 6848.513
|
||||
},
|
||||
"chunks.mountain.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 16126.0,
|
||||
"stdev": 665.232,
|
||||
"min": 15575.0,
|
||||
"max": 16865.0,
|
||||
"ci95": 1652.66
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.829,
|
||||
"stdev": 0.126,
|
||||
"min": 143.691,
|
||||
"max": 143.938,
|
||||
"ci95": 0.313
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 93.631,
|
||||
"stdev": 9.702,
|
||||
"min": 83.285,
|
||||
"max": 102.526,
|
||||
"ci95": 24.104
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 76.626,
|
||||
"stdev": 0.844,
|
||||
"min": 75.806,
|
||||
"max": 77.493,
|
||||
"ci95": 2.098
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 1332.448,
|
||||
"stdev": 38.71,
|
||||
"min": 1289.484,
|
||||
"max": 1364.609,
|
||||
"ci95": 96.168
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 1201.484,
|
||||
"stdev": 14.839,
|
||||
"min": 1184.859,
|
||||
"max": 1213.391,
|
||||
"ci95": 36.866
|
||||
},
|
||||
"memory.footprint_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 1967.601,
|
||||
"stdev": 14.451,
|
||||
"min": 1958.158,
|
||||
"max": 1984.236,
|
||||
"ci95": 35.9
|
||||
},
|
||||
"memory.footprint_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 1678.093,
|
||||
"stdev": 11.285,
|
||||
"min": 1666.799,
|
||||
"max": 1689.369,
|
||||
"ci95": 28.036
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.854,
|
||||
"low_1pct_fps": 101.638,
|
||||
"low_01pct_fps": 90.151,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.788,
|
||||
"p99_ms": 9.014,
|
||||
"p999_ms": 10.416,
|
||||
"max_ms": 11.769,
|
||||
"cpu_p50_ms": 0.685,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
6,
|
||||
12,
|
||||
38,
|
||||
1003,
|
||||
635,
|
||||
26,
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 1,
|
||||
"frames": 1727,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.863,
|
||||
"low_1pct_fps": 112.553,
|
||||
"low_01pct_fps": 95.564,
|
||||
"p50_ms": 6.952,
|
||||
"p95_ms": 7.703,
|
||||
"p99_ms": 8.321,
|
||||
"p999_ms": 9.559,
|
||||
"max_ms": 11.369,
|
||||
"cpu_p50_ms": 0.658,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
7,
|
||||
43,
|
||||
990,
|
||||
669,
|
||||
16,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 2,
|
||||
"frames": 1720,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.283,
|
||||
"low_1pct_fps": 77.659,
|
||||
"low_01pct_fps": 74.96,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.725,
|
||||
"p99_ms": 12.282,
|
||||
"p999_ms": 13.317,
|
||||
"max_ms": 13.364,
|
||||
"cpu_p50_ms": 0.675,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
4,
|
||||
8,
|
||||
0,
|
||||
13,
|
||||
3,
|
||||
20,
|
||||
1011,
|
||||
624,
|
||||
10,
|
||||
9,
|
||||
18,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.002,
|
||||
"avg_fps": 143.893,
|
||||
"low_1pct_fps": 102.379,
|
||||
"low_01pct_fps": 88.513,
|
||||
"p50_ms": 6.951,
|
||||
"p95_ms": 7.722,
|
||||
"p99_ms": 8.837,
|
||||
"p999_ms": 11.08,
|
||||
"max_ms": 11.516,
|
||||
"cpu_p50_ms": 0.636,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
7,
|
||||
10,
|
||||
27,
|
||||
1025,
|
||||
632,
|
||||
20,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 1,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.861,
|
||||
"low_1pct_fps": 110.84,
|
||||
"low_01pct_fps": 86.696,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.699,
|
||||
"p99_ms": 8.258,
|
||||
"p999_ms": 10.764,
|
||||
"max_ms": 12.305,
|
||||
"cpu_p50_ms": 0.628,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
33,
|
||||
1036,
|
||||
637,
|
||||
12,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 2,
|
||||
"frames": 1725,
|
||||
"seconds": 12.006,
|
||||
"avg_fps": 143.684,
|
||||
"low_1pct_fps": 87.358,
|
||||
"low_01pct_fps": 75.936,
|
||||
"p50_ms": 6.947,
|
||||
"p95_ms": 7.69,
|
||||
"p99_ms": 9.094,
|
||||
"p999_ms": 13.064,
|
||||
"max_ms": 13.274,
|
||||
"cpu_p50_ms": 0.617,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
4,
|
||||
1,
|
||||
10,
|
||||
6,
|
||||
9,
|
||||
1044,
|
||||
628,
|
||||
10,
|
||||
4,
|
||||
9,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 143.877,
|
||||
"low_1pct_fps": 114.835,
|
||||
"low_01pct_fps": 100.219,
|
||||
"p50_ms": 6.948,
|
||||
"p95_ms": 7.663,
|
||||
"p99_ms": 8.021,
|
||||
"p999_ms": 9.584,
|
||||
"max_ms": 10.372,
|
||||
"cpu_p50_ms": 0.631,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
19,
|
||||
1058,
|
||||
632,
|
||||
12,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 1,
|
||||
"frames": 1726,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.78,
|
||||
"low_1pct_fps": 96.223,
|
||||
"low_01pct_fps": 76.266,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.675,
|
||||
"p99_ms": 8.561,
|
||||
"p999_ms": 12.865,
|
||||
"max_ms": 13.359,
|
||||
"cpu_p50_ms": 0.65,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
9,
|
||||
5,
|
||||
15,
|
||||
1062,
|
||||
615,
|
||||
9,
|
||||
5,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 2,
|
||||
"frames": 1723,
|
||||
"seconds": 12.011,
|
||||
"avg_fps": 143.449,
|
||||
"low_1pct_fps": 82.809,
|
||||
"low_01pct_fps": 74.969,
|
||||
"p50_ms": 6.949,
|
||||
"p95_ms": 7.7,
|
||||
"p99_ms": 9.785,
|
||||
"p999_ms": 12.978,
|
||||
"max_ms": 13.699,
|
||||
"cpu_p50_ms": 0.636,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
2,
|
||||
6,
|
||||
1,
|
||||
5,
|
||||
5,
|
||||
17,
|
||||
1071,
|
||||
585,
|
||||
14,
|
||||
5,
|
||||
12,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.858,
|
||||
"low_1pct_fps": 102.526,
|
||||
"low_01pct_fps": 76.579,
|
||||
"p50_ms": 6.947,
|
||||
"p95_ms": 7.68,
|
||||
"p99_ms": 8.234,
|
||||
"p999_ms": 12.879,
|
||||
"max_ms": 13.238,
|
||||
"cpu_p50_ms": 0.688,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
4,
|
||||
7,
|
||||
16,
|
||||
1066,
|
||||
616,
|
||||
12,
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 1,
|
||||
"frames": 1728,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.938,
|
||||
"low_1pct_fps": 95.083,
|
||||
"low_01pct_fps": 75.806,
|
||||
"p50_ms": 6.944,
|
||||
"p95_ms": 7.709,
|
||||
"p99_ms": 8.959,
|
||||
"p999_ms": 13.175,
|
||||
"max_ms": 13.208,
|
||||
"cpu_p50_ms": 0.706,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
1,
|
||||
5,
|
||||
10,
|
||||
4,
|
||||
22,
|
||||
1019,
|
||||
640,
|
||||
17,
|
||||
7,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 2,
|
||||
"frames": 1725,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.691,
|
||||
"low_1pct_fps": 83.285,
|
||||
"low_01pct_fps": 77.493,
|
||||
"p50_ms": 6.943,
|
||||
"p95_ms": 7.714,
|
||||
"p99_ms": 10.345,
|
||||
"p999_ms": 12.837,
|
||||
"max_ms": 12.972,
|
||||
"cpu_p50_ms": 0.69,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
11,
|
||||
0,
|
||||
7,
|
||||
5,
|
||||
24,
|
||||
1035,
|
||||
612,
|
||||
13,
|
||||
7,
|
||||
11,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "horizon-macmini"
|
||||
}
|
||||
@@ -0,0 +1,758 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:04:50Z",
|
||||
"app": {
|
||||
"name": "horizon-client",
|
||||
"version": "0.1.0",
|
||||
"commit": "02260048"
|
||||
},
|
||||
"hardware": {
|
||||
"os": "macos",
|
||||
"arch": "aarch64",
|
||||
"cpu_threads": 14,
|
||||
"os_version": "27.0.1",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"ram_mb": 65536,
|
||||
"gpu": {
|
||||
"name": "Apple M4 Pro",
|
||||
"vendor": "",
|
||||
"driver": "",
|
||||
"backend": "metal",
|
||||
"kind": "integrated"
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 32,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 3,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 34.828,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 3,
|
||||
"mean": 1790.674,
|
||||
"stdev": 56.914,
|
||||
"min": 1752.696,
|
||||
"max": 1856.111,
|
||||
"ci95": 141.393
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 3,
|
||||
"mean": 16377.0,
|
||||
"stdev": 336.835,
|
||||
"min": 16104.909,
|
||||
"max": 16753.738,
|
||||
"ci95": 836.813
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 12453.023,
|
||||
"stdev": 604.693,
|
||||
"min": 11803.423,
|
||||
"max": 12999.563,
|
||||
"ci95": 1502.262
|
||||
},
|
||||
"chunks.village.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 51719.0,
|
||||
"stdev": 122.491,
|
||||
"min": 51587.0,
|
||||
"max": 51829.0,
|
||||
"ci95": 304.309
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.847,
|
||||
"stdev": 0.057,
|
||||
"min": 143.783,
|
||||
"max": 143.892,
|
||||
"ci95": 0.141
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 101.488,
|
||||
"stdev": 2.262,
|
||||
"min": 99.902,
|
||||
"max": 104.078,
|
||||
"ci95": 5.619
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 84.797,
|
||||
"stdev": 3.7,
|
||||
"min": 80.571,
|
||||
"max": 87.457,
|
||||
"ci95": 9.193
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 16309.457,
|
||||
"stdev": 928.209,
|
||||
"min": 15257.604,
|
||||
"max": 17013.641,
|
||||
"ci95": 2305.986
|
||||
},
|
||||
"chunks.forest.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 87279.0,
|
||||
"stdev": 407.052,
|
||||
"min": 86853.0,
|
||||
"max": 87664.0,
|
||||
"ci95": 1011.254
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.86,
|
||||
"stdev": 0.001,
|
||||
"min": 143.859,
|
||||
"max": 143.86,
|
||||
"ci95": 0.001
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 113.796,
|
||||
"stdev": 13.168,
|
||||
"min": 98.591,
|
||||
"max": 121.412,
|
||||
"ci95": 32.713
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 94.786,
|
||||
"stdev": 14.752,
|
||||
"min": 80.86,
|
||||
"max": 110.244,
|
||||
"ci95": 36.649
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 14321.991,
|
||||
"stdev": 573.379,
|
||||
"min": 13755.732,
|
||||
"max": 14902.235,
|
||||
"ci95": 1424.468
|
||||
},
|
||||
"chunks.ocean.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 77599.667,
|
||||
"stdev": 139.429,
|
||||
"min": 77500.0,
|
||||
"max": 77759.0,
|
||||
"ci95": 346.388
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.832,
|
||||
"stdev": 0.049,
|
||||
"min": 143.777,
|
||||
"max": 143.872,
|
||||
"ci95": 0.122
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 118.94,
|
||||
"stdev": 3.668,
|
||||
"min": 114.708,
|
||||
"max": 121.215,
|
||||
"ci95": 9.113
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 93.392,
|
||||
"stdev": 2.385,
|
||||
"min": 90.66,
|
||||
"max": 95.059,
|
||||
"ci95": 5.925
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 22432.475,
|
||||
"stdev": 553.334,
|
||||
"min": 22065.669,
|
||||
"max": 23068.944,
|
||||
"ci95": 1374.669
|
||||
},
|
||||
"chunks.mountain.meshed_count": {
|
||||
"n": 3,
|
||||
"mean": 92974.333,
|
||||
"stdev": 374.559,
|
||||
"min": 92542.0,
|
||||
"max": 93201.0,
|
||||
"ci95": 930.531
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 143.783,
|
||||
"stdev": 0.013,
|
||||
"min": 143.772,
|
||||
"max": 143.797,
|
||||
"ci95": 0.032
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 100.357,
|
||||
"stdev": 3.901,
|
||||
"min": 97.468,
|
||||
"max": 104.795,
|
||||
"ci95": 9.692
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 74.988,
|
||||
"stdev": 1.321,
|
||||
"min": 74.05,
|
||||
"max": 76.499,
|
||||
"ci95": 3.282
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 2267.208,
|
||||
"stdev": 19.513,
|
||||
"min": 2245.516,
|
||||
"max": 2283.328,
|
||||
"ci95": 48.476
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 1892.026,
|
||||
"stdev": 34.165,
|
||||
"min": 1854.414,
|
||||
"max": 1921.141,
|
||||
"ci95": 84.878
|
||||
},
|
||||
"memory.footprint_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 4916.789,
|
||||
"stdev": 86.517,
|
||||
"min": 4817.112,
|
||||
"max": 4972.425,
|
||||
"ci95": 214.938
|
||||
},
|
||||
"memory.footprint_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 3822.76,
|
||||
"stdev": 13.305,
|
||||
"min": 3807.417,
|
||||
"max": 3831.096,
|
||||
"ci95": 33.053
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 1726,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.783,
|
||||
"low_1pct_fps": 104.078,
|
||||
"low_01pct_fps": 87.457,
|
||||
"p50_ms": 6.947,
|
||||
"p95_ms": 7.68,
|
||||
"p99_ms": 8.338,
|
||||
"p999_ms": 11.28,
|
||||
"max_ms": 11.588,
|
||||
"cpu_p50_ms": 1.378,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
4,
|
||||
4,
|
||||
15,
|
||||
1036,
|
||||
647,
|
||||
12,
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 1,
|
||||
"frames": 1727,
|
||||
"seconds": 12.002,
|
||||
"avg_fps": 143.892,
|
||||
"low_1pct_fps": 99.902,
|
||||
"low_01pct_fps": 86.362,
|
||||
"p50_ms": 6.954,
|
||||
"p95_ms": 7.654,
|
||||
"p99_ms": 8.863,
|
||||
"p999_ms": 11.513,
|
||||
"max_ms": 11.645,
|
||||
"cpu_p50_ms": 1.4,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
4,
|
||||
7,
|
||||
7,
|
||||
20,
|
||||
994,
|
||||
669,
|
||||
17,
|
||||
9,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 2,
|
||||
"frames": 1727,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.865,
|
||||
"low_1pct_fps": 100.485,
|
||||
"low_01pct_fps": 80.571,
|
||||
"p50_ms": 6.952,
|
||||
"p95_ms": 7.729,
|
||||
"p99_ms": 8.604,
|
||||
"p999_ms": 12.182,
|
||||
"max_ms": 12.64,
|
||||
"cpu_p50_ms": 1.407,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
3,
|
||||
7,
|
||||
29,
|
||||
977,
|
||||
687,
|
||||
14,
|
||||
5,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.86,
|
||||
"low_1pct_fps": 98.591,
|
||||
"low_01pct_fps": 80.86,
|
||||
"p50_ms": 6.953,
|
||||
"p95_ms": 7.732,
|
||||
"p99_ms": 8.83,
|
||||
"p999_ms": 12.092,
|
||||
"max_ms": 12.642,
|
||||
"cpu_p50_ms": 1.432,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
7,
|
||||
27,
|
||||
978,
|
||||
681,
|
||||
17,
|
||||
6,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 1,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.86,
|
||||
"low_1pct_fps": 121.384,
|
||||
"low_01pct_fps": 93.253,
|
||||
"p50_ms": 6.954,
|
||||
"p95_ms": 7.634,
|
||||
"p99_ms": 7.827,
|
||||
"p999_ms": 8.154,
|
||||
"max_ms": 13.293,
|
||||
"cpu_p50_ms": 1.35,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
14,
|
||||
1027,
|
||||
683,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 2,
|
||||
"frames": 1727,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.859,
|
||||
"low_1pct_fps": 121.412,
|
||||
"low_01pct_fps": 110.244,
|
||||
"p50_ms": 6.952,
|
||||
"p95_ms": 7.707,
|
||||
"p99_ms": 7.941,
|
||||
"p999_ms": 9.001,
|
||||
"max_ms": 9.141,
|
||||
"cpu_p50_ms": 1.415,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
24,
|
||||
1006,
|
||||
689,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 1727,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 143.872,
|
||||
"low_1pct_fps": 114.708,
|
||||
"low_01pct_fps": 90.66,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.685,
|
||||
"p99_ms": 7.957,
|
||||
"p999_ms": 10.313,
|
||||
"max_ms": 11.747,
|
||||
"cpu_p50_ms": 1.316,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
5,
|
||||
15,
|
||||
1046,
|
||||
650,
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 1,
|
||||
"frames": 1727,
|
||||
"seconds": 12.006,
|
||||
"avg_fps": 143.847,
|
||||
"low_1pct_fps": 120.896,
|
||||
"low_01pct_fps": 94.456,
|
||||
"p50_ms": 6.948,
|
||||
"p95_ms": 7.635,
|
||||
"p99_ms": 7.829,
|
||||
"p999_ms": 9.702,
|
||||
"max_ms": 11.472,
|
||||
"cpu_p50_ms": 1.16,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
10,
|
||||
1024,
|
||||
688,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 2,
|
||||
"frames": 1726,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.777,
|
||||
"low_1pct_fps": 121.215,
|
||||
"low_01pct_fps": 95.059,
|
||||
"p50_ms": 6.953,
|
||||
"p95_ms": 7.66,
|
||||
"p99_ms": 7.856,
|
||||
"p999_ms": 8.69,
|
||||
"max_ms": 12.35,
|
||||
"cpu_p50_ms": 1.248,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
14,
|
||||
1039,
|
||||
671,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 1726,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 143.797,
|
||||
"low_1pct_fps": 98.809,
|
||||
"low_01pct_fps": 74.415,
|
||||
"p50_ms": 6.95,
|
||||
"p95_ms": 7.847,
|
||||
"p99_ms": 9.041,
|
||||
"p999_ms": 12.965,
|
||||
"max_ms": 13.911,
|
||||
"cpu_p50_ms": 1.988,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
13,
|
||||
54,
|
||||
946,
|
||||
669,
|
||||
33,
|
||||
4,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 1,
|
||||
"frames": 1726,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.772,
|
||||
"low_1pct_fps": 104.795,
|
||||
"low_01pct_fps": 76.499,
|
||||
"p50_ms": 6.952,
|
||||
"p95_ms": 7.647,
|
||||
"p99_ms": 8.489,
|
||||
"p999_ms": 12.811,
|
||||
"max_ms": 13.333,
|
||||
"cpu_p50_ms": 1.758,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
5,
|
||||
21,
|
||||
975,
|
||||
703,
|
||||
16,
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 2,
|
||||
"frames": 1726,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 143.779,
|
||||
"low_1pct_fps": 97.468,
|
||||
"low_01pct_fps": 74.05,
|
||||
"p50_ms": 6.949,
|
||||
"p95_ms": 7.808,
|
||||
"p99_ms": 8.836,
|
||||
"p999_ms": 13.384,
|
||||
"max_ms": 13.624,
|
||||
"cpu_p50_ms": 1.93,
|
||||
"gpu_p50_ms": 0.0,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
3,
|
||||
9,
|
||||
36,
|
||||
975,
|
||||
671,
|
||||
23,
|
||||
2,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "horizon-macmini"
|
||||
}
|
||||
@@ -0,0 +1,707 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:11:15Z",
|
||||
"app": {
|
||||
"name": "minecraft",
|
||||
"version": "26.3",
|
||||
"mods": [
|
||||
{
|
||||
"name": "fabric-loader",
|
||||
"version": "0.19.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hardware": {
|
||||
"os": "macos",
|
||||
"arch": "aarch64",
|
||||
"cpu_threads": 14,
|
||||
"os_version": "27.0.1",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"ram_mb": 65536,
|
||||
"gpu": {
|
||||
"name": "Apple M4 Pro",
|
||||
"vendor": "Apple",
|
||||
"driver": "4.1 Metal - 91.7",
|
||||
"backend": "opengl",
|
||||
"kind": ""
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 12,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 3,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 19.995,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 3,
|
||||
"mean": 9255.174,
|
||||
"stdev": 1377.709,
|
||||
"min": 8291.517,
|
||||
"max": 10833.18,
|
||||
"ci95": 3422.694
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 3,
|
||||
"mean": 22267.841,
|
||||
"stdev": 2359.592,
|
||||
"min": 19676.825,
|
||||
"max": 24293.18,
|
||||
"ci95": 5862.025
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 8373.541,
|
||||
"stdev": 1607.431,
|
||||
"min": 6736.307,
|
||||
"max": 9949.411,
|
||||
"ci95": 3993.401
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 136.491,
|
||||
"stdev": 49.607,
|
||||
"min": 80.587,
|
||||
"max": 175.255,
|
||||
"ci95": 123.241
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 40.05,
|
||||
"stdev": 20.951,
|
||||
"min": 17.531,
|
||||
"max": 58.964,
|
||||
"ci95": 52.048
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 27.562,
|
||||
"stdev": 16.348,
|
||||
"min": 9.896,
|
||||
"max": 42.155,
|
||||
"ci95": 40.613
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 10975.903,
|
||||
"stdev": 2773.208,
|
||||
"min": 7859.955,
|
||||
"max": 13173.278,
|
||||
"ci95": 6889.586
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 114.749,
|
||||
"stdev": 25.895,
|
||||
"min": 88.614,
|
||||
"max": 140.397,
|
||||
"ci95": 64.332
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 22.337,
|
||||
"stdev": 2.265,
|
||||
"min": 20.316,
|
||||
"max": 24.786,
|
||||
"ci95": 5.628
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 13.925,
|
||||
"stdev": 1.313,
|
||||
"min": 12.44,
|
||||
"max": 14.934,
|
||||
"ci95": 3.263
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 7219.032,
|
||||
"stdev": 512.777,
|
||||
"min": 6863.314,
|
||||
"max": 7806.817,
|
||||
"ci95": 1273.913
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 127.344,
|
||||
"stdev": 39.331,
|
||||
"min": 87.832,
|
||||
"max": 166.491,
|
||||
"ci95": 97.711
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 28.658,
|
||||
"stdev": 13.052,
|
||||
"min": 19.943,
|
||||
"max": 43.664,
|
||||
"ci95": 32.426
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 17.368,
|
||||
"stdev": 3.553,
|
||||
"min": 14.965,
|
||||
"max": 21.449,
|
||||
"ci95": 8.826
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 14487.3,
|
||||
"stdev": 1978.448,
|
||||
"min": 12307.989,
|
||||
"max": 16170.426,
|
||||
"ci95": 4915.133
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 112.429,
|
||||
"stdev": 10.054,
|
||||
"min": 101.699,
|
||||
"max": 121.631,
|
||||
"ci95": 24.976
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 23.328,
|
||||
"stdev": 4.326,
|
||||
"min": 18.537,
|
||||
"max": 26.948,
|
||||
"ci95": 10.748
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 15.99,
|
||||
"stdev": 3.13,
|
||||
"min": 13.061,
|
||||
"max": 19.289,
|
||||
"ci95": 7.777
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 2444.542,
|
||||
"stdev": 59.065,
|
||||
"min": 2402.813,
|
||||
"max": 2512.125,
|
||||
"ci95": 146.737
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 2283.372,
|
||||
"stdev": 54.05,
|
||||
"min": 2223.469,
|
||||
"max": 2328.492,
|
||||
"ci95": 134.278
|
||||
},
|
||||
"memory.footprint_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 3142.514,
|
||||
"stdev": 65.681,
|
||||
"min": 3092.55,
|
||||
"max": 3216.91,
|
||||
"ci95": 163.174
|
||||
},
|
||||
"memory.footprint_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 2963.105,
|
||||
"stdev": 109.382,
|
||||
"min": 2845.722,
|
||||
"max": 3062.175,
|
||||
"ci95": 271.743
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 2104,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 175.255,
|
||||
"low_1pct_fps": 58.964,
|
||||
"low_01pct_fps": 42.155,
|
||||
"p50_ms": 5.974,
|
||||
"p95_ms": 7.928,
|
||||
"p99_ms": 11.472,
|
||||
"p999_ms": 21.981,
|
||||
"max_ms": 25.823,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
31,
|
||||
626,
|
||||
131,
|
||||
268,
|
||||
600,
|
||||
374,
|
||||
41,
|
||||
14,
|
||||
4,
|
||||
5,
|
||||
4,
|
||||
5,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 1,
|
||||
"frames": 968,
|
||||
"seconds": 12.012,
|
||||
"avg_fps": 80.587,
|
||||
"low_1pct_fps": 17.531,
|
||||
"low_01pct_fps": 9.896,
|
||||
"p50_ms": 10.008,
|
||||
"p95_ms": 27.353,
|
||||
"p99_ms": 40.768,
|
||||
"p999_ms": 101.056,
|
||||
"max_ms": 101.056,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
6,
|
||||
40,
|
||||
121,
|
||||
163,
|
||||
143,
|
||||
133,
|
||||
103,
|
||||
72,
|
||||
62,
|
||||
51,
|
||||
40,
|
||||
12,
|
||||
7,
|
||||
3,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 2,
|
||||
"frames": 1844,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 153.632,
|
||||
"low_1pct_fps": 43.656,
|
||||
"low_01pct_fps": 30.635,
|
||||
"p50_ms": 6.497,
|
||||
"p95_ms": 10.85,
|
||||
"p99_ms": 18.965,
|
||||
"p999_ms": 31.548,
|
||||
"max_ms": 33.737,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
343,
|
||||
146,
|
||||
267,
|
||||
472,
|
||||
344,
|
||||
121,
|
||||
51,
|
||||
18,
|
||||
24,
|
||||
12,
|
||||
11,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1064,
|
||||
"seconds": 12.007,
|
||||
"avg_fps": 88.614,
|
||||
"low_1pct_fps": 20.316,
|
||||
"low_01pct_fps": 14.401,
|
||||
"p50_ms": 9.718,
|
||||
"p95_ms": 23.959,
|
||||
"p99_ms": 38.344,
|
||||
"p999_ms": 66.283,
|
||||
"max_ms": 72.6,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
28,
|
||||
17,
|
||||
52,
|
||||
151,
|
||||
169,
|
||||
157,
|
||||
165,
|
||||
103,
|
||||
82,
|
||||
50,
|
||||
47,
|
||||
26,
|
||||
7,
|
||||
7,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 1,
|
||||
"frames": 1383,
|
||||
"seconds": 12.001,
|
||||
"avg_fps": 115.237,
|
||||
"low_1pct_fps": 24.786,
|
||||
"low_01pct_fps": 14.934,
|
||||
"p50_ms": 7.377,
|
||||
"p95_ms": 15.575,
|
||||
"p99_ms": 23.447,
|
||||
"p999_ms": 59.361,
|
||||
"max_ms": 74.564,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
31,
|
||||
57,
|
||||
146,
|
||||
307,
|
||||
316,
|
||||
203,
|
||||
150,
|
||||
75,
|
||||
41,
|
||||
34,
|
||||
11,
|
||||
4,
|
||||
1,
|
||||
4,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 2,
|
||||
"frames": 1687,
|
||||
"seconds": 12.016,
|
||||
"avg_fps": 140.397,
|
||||
"low_1pct_fps": 21.91,
|
||||
"low_01pct_fps": 12.44,
|
||||
"p50_ms": 6.331,
|
||||
"p95_ms": 15.139,
|
||||
"p99_ms": 31.057,
|
||||
"p999_ms": 75.339,
|
||||
"max_ms": 85.428,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
21,
|
||||
337,
|
||||
165,
|
||||
245,
|
||||
396,
|
||||
251,
|
||||
104,
|
||||
47,
|
||||
26,
|
||||
28,
|
||||
16,
|
||||
23,
|
||||
15,
|
||||
4,
|
||||
5,
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 1999,
|
||||
"seconds": 12.007,
|
||||
"avg_fps": 166.491,
|
||||
"low_1pct_fps": 43.664,
|
||||
"low_01pct_fps": 21.449,
|
||||
"p50_ms": 5.909,
|
||||
"p95_ms": 9.406,
|
||||
"p99_ms": 16.205,
|
||||
"p999_ms": 45.922,
|
||||
"max_ms": 47.324,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
30,
|
||||
481,
|
||||
178,
|
||||
349,
|
||||
520,
|
||||
277,
|
||||
84,
|
||||
34,
|
||||
16,
|
||||
12,
|
||||
8,
|
||||
7,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 1,
|
||||
"frames": 1054,
|
||||
"seconds": 12.0,
|
||||
"avg_fps": 87.832,
|
||||
"low_1pct_fps": 19.943,
|
||||
"low_01pct_fps": 15.69,
|
||||
"p50_ms": 9.863,
|
||||
"p95_ms": 21.668,
|
||||
"p99_ms": 39.308,
|
||||
"p999_ms": 62.346,
|
||||
"max_ms": 65.125,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
5,
|
||||
15,
|
||||
93,
|
||||
121,
|
||||
162,
|
||||
147,
|
||||
176,
|
||||
100,
|
||||
87,
|
||||
70,
|
||||
40,
|
||||
22,
|
||||
6,
|
||||
6,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 2,
|
||||
"frames": 1533,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 127.709,
|
||||
"low_1pct_fps": 22.367,
|
||||
"low_01pct_fps": 14.965,
|
||||
"p50_ms": 6.703,
|
||||
"p95_ms": 17.53,
|
||||
"p99_ms": 35.256,
|
||||
"p999_ms": 63.191,
|
||||
"max_ms": 70.458,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
13,
|
||||
222,
|
||||
109,
|
||||
208,
|
||||
366,
|
||||
275,
|
||||
122,
|
||||
69,
|
||||
37,
|
||||
28,
|
||||
20,
|
||||
29,
|
||||
18,
|
||||
8,
|
||||
6,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 1368,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 113.958,
|
||||
"low_1pct_fps": 26.948,
|
||||
"low_01pct_fps": 19.289,
|
||||
"p50_ms": 7.238,
|
||||
"p95_ms": 18.057,
|
||||
"p99_ms": 29.957,
|
||||
"p999_ms": 49.049,
|
||||
"max_ms": 54.639,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
88,
|
||||
46,
|
||||
128,
|
||||
327,
|
||||
284,
|
||||
165,
|
||||
133,
|
||||
75,
|
||||
41,
|
||||
37,
|
||||
22,
|
||||
15,
|
||||
3,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 1,
|
||||
"frames": 1221,
|
||||
"seconds": 12.006,
|
||||
"avg_fps": 101.699,
|
||||
"low_1pct_fps": 18.537,
|
||||
"low_01pct_fps": 13.061,
|
||||
"p50_ms": 7.5,
|
||||
"p95_ms": 21.53,
|
||||
"p99_ms": 39.922,
|
||||
"p999_ms": 70.942,
|
||||
"max_ms": 82.181,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
62,
|
||||
36,
|
||||
105,
|
||||
288,
|
||||
232,
|
||||
146,
|
||||
109,
|
||||
64,
|
||||
47,
|
||||
45,
|
||||
48,
|
||||
18,
|
||||
7,
|
||||
5,
|
||||
5,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 2,
|
||||
"frames": 1460,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 121.631,
|
||||
"low_1pct_fps": 24.5,
|
||||
"low_01pct_fps": 15.62,
|
||||
"p50_ms": 6.975,
|
||||
"p95_ms": 17.318,
|
||||
"p99_ms": 31.34,
|
||||
"p999_ms": 59.755,
|
||||
"max_ms": 68.287,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
8,
|
||||
144,
|
||||
75,
|
||||
131,
|
||||
381,
|
||||
321,
|
||||
129,
|
||||
107,
|
||||
51,
|
||||
36,
|
||||
24,
|
||||
30,
|
||||
11,
|
||||
6,
|
||||
4,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "vanilla-macmini"
|
||||
}
|
||||
@@ -0,0 +1,707 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:28:11Z",
|
||||
"app": {
|
||||
"name": "minecraft",
|
||||
"version": "26.3",
|
||||
"mods": [
|
||||
{
|
||||
"name": "fabric-loader",
|
||||
"version": "0.19.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hardware": {
|
||||
"os": "macos",
|
||||
"arch": "aarch64",
|
||||
"cpu_threads": 14,
|
||||
"os_version": "27.0.1",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"ram_mb": 65536,
|
||||
"gpu": {
|
||||
"name": "Apple M4 Pro",
|
||||
"vendor": "Apple",
|
||||
"driver": "4.1 Metal - 91.7",
|
||||
"backend": "opengl",
|
||||
"kind": ""
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 32,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 3,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 24.818,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 3,
|
||||
"mean": 11381.196,
|
||||
"stdev": 3370.766,
|
||||
"min": 8420.137,
|
||||
"max": 15049.455,
|
||||
"ci95": 8374.123
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 3,
|
||||
"mean": 65830.529,
|
||||
"stdev": 11011.236,
|
||||
"min": 56970.455,
|
||||
"max": 78158.137,
|
||||
"ci95": 27355.633
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 23987.198,
|
||||
"stdev": 11152.991,
|
||||
"min": 17293.537,
|
||||
"max": 36862.165,
|
||||
"ci95": 27707.801
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 47.737,
|
||||
"stdev": 31.496,
|
||||
"min": 27.991,
|
||||
"max": 84.059,
|
||||
"ci95": 78.247
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 6.2,
|
||||
"stdev": 2.609,
|
||||
"min": 4.528,
|
||||
"max": 9.206,
|
||||
"ci95": 6.481
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 4.617,
|
||||
"stdev": 1.026,
|
||||
"min": 3.768,
|
||||
"max": 5.758,
|
||||
"ci95": 2.55
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 36378.52,
|
||||
"stdev": 15983.433,
|
||||
"min": 24065.993,
|
||||
"max": 54441.562,
|
||||
"ci95": 39708.252
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 53.928,
|
||||
"stdev": 33.496,
|
||||
"min": 28.564,
|
||||
"max": 91.898,
|
||||
"ci95": 83.215
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 12.927,
|
||||
"stdev": 13.712,
|
||||
"min": 4.023,
|
||||
"max": 28.717,
|
||||
"ci95": 34.065
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 9.842,
|
||||
"stdev": 11.775,
|
||||
"min": 2.927,
|
||||
"max": 23.438,
|
||||
"ci95": 29.254
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 18553.145,
|
||||
"stdev": 3789.708,
|
||||
"min": 14921.886,
|
||||
"max": 22483.568,
|
||||
"ci95": 9414.916
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 48.22,
|
||||
"stdev": 8.307,
|
||||
"min": 38.643,
|
||||
"max": 53.477,
|
||||
"ci95": 20.638
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 7.916,
|
||||
"stdev": 2.369,
|
||||
"min": 6.195,
|
||||
"max": 10.617,
|
||||
"ci95": 5.884
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 5.755,
|
||||
"stdev": 2.962,
|
||||
"min": 3.274,
|
||||
"max": 9.034,
|
||||
"ci95": 7.358
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 3,
|
||||
"mean": 123216.543,
|
||||
"stdev": 45006.944,
|
||||
"min": 74469.433,
|
||||
"max": 163191.844,
|
||||
"ci95": 111812.471
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 3,
|
||||
"mean": 23.396,
|
||||
"stdev": 13.96,
|
||||
"min": 12.505,
|
||||
"max": 39.134,
|
||||
"ci95": 34.682
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 3.144,
|
||||
"stdev": 2.263,
|
||||
"min": 1.469,
|
||||
"max": 5.719,
|
||||
"ci95": 5.623
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 3,
|
||||
"mean": 1.601,
|
||||
"stdev": 0.663,
|
||||
"min": 1.033,
|
||||
"max": 2.329,
|
||||
"ci95": 1.646
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 2946.771,
|
||||
"stdev": 9.561,
|
||||
"min": 2940.781,
|
||||
"max": 2957.797,
|
||||
"ci95": 23.752
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 2931.729,
|
||||
"stdev": 4.529,
|
||||
"min": 2927.547,
|
||||
"max": 2936.539,
|
||||
"ci95": 11.251
|
||||
},
|
||||
"memory.footprint_peak_mb": {
|
||||
"n": 3,
|
||||
"mean": 4416.488,
|
||||
"stdev": 139.323,
|
||||
"min": 4302.254,
|
||||
"max": 4571.707,
|
||||
"ci95": 346.127
|
||||
},
|
||||
"memory.footprint_steady_mb": {
|
||||
"n": 3,
|
||||
"mean": 4208.842,
|
||||
"stdev": 45.014,
|
||||
"min": 4162.535,
|
||||
"max": 4252.441,
|
||||
"ci95": 111.831
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 1009,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 84.059,
|
||||
"low_1pct_fps": 9.206,
|
||||
"low_01pct_fps": 5.758,
|
||||
"p50_ms": 8.462,
|
||||
"p95_ms": 25.665,
|
||||
"p99_ms": 79.305,
|
||||
"p999_ms": 162.932,
|
||||
"max_ms": 184.432,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
15,
|
||||
184,
|
||||
285,
|
||||
186,
|
||||
111,
|
||||
65,
|
||||
46,
|
||||
36,
|
||||
28,
|
||||
21,
|
||||
5,
|
||||
8,
|
||||
6,
|
||||
8,
|
||||
3,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 1,
|
||||
"frames": 375,
|
||||
"seconds": 12.035,
|
||||
"avg_fps": 31.16,
|
||||
"low_1pct_fps": 4.866,
|
||||
"low_01pct_fps": 4.326,
|
||||
"p50_ms": 14.505,
|
||||
"p95_ms": 116.616,
|
||||
"p99_ms": 195.71,
|
||||
"p999_ms": 231.163,
|
||||
"max_ms": 231.163,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
22,
|
||||
47,
|
||||
62,
|
||||
48,
|
||||
27,
|
||||
24,
|
||||
18,
|
||||
28,
|
||||
11,
|
||||
13,
|
||||
18,
|
||||
30,
|
||||
18,
|
||||
8,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 2,
|
||||
"frames": 336,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 27.991,
|
||||
"low_1pct_fps": 4.528,
|
||||
"low_01pct_fps": 3.768,
|
||||
"p50_ms": 15.612,
|
||||
"p95_ms": 140.292,
|
||||
"p99_ms": 200.831,
|
||||
"p999_ms": 265.4,
|
||||
"max_ms": 265.4,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
14,
|
||||
36,
|
||||
51,
|
||||
42,
|
||||
34,
|
||||
29,
|
||||
20,
|
||||
19,
|
||||
5,
|
||||
21,
|
||||
14,
|
||||
14,
|
||||
21,
|
||||
14,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1103,
|
||||
"seconds": 12.002,
|
||||
"avg_fps": 91.898,
|
||||
"low_1pct_fps": 28.717,
|
||||
"low_01pct_fps": 23.438,
|
||||
"p50_ms": 9.702,
|
||||
"p95_ms": 19.437,
|
||||
"p99_ms": 29.906,
|
||||
"p999_ms": 40.578,
|
||||
"max_ms": 44.753,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
175,
|
||||
470,
|
||||
261,
|
||||
64,
|
||||
43,
|
||||
39,
|
||||
31,
|
||||
14,
|
||||
4,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 1,
|
||||
"frames": 496,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 41.322,
|
||||
"low_1pct_fps": 6.041,
|
||||
"low_01pct_fps": 3.16,
|
||||
"p50_ms": 13.948,
|
||||
"p95_ms": 73.747,
|
||||
"p99_ms": 106.208,
|
||||
"p999_ms": 316.463,
|
||||
"max_ms": 316.463,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
24,
|
||||
97,
|
||||
73,
|
||||
56,
|
||||
52,
|
||||
23,
|
||||
31,
|
||||
34,
|
||||
18,
|
||||
34,
|
||||
20,
|
||||
27,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 2,
|
||||
"frames": 343,
|
||||
"seconds": 12.008,
|
||||
"avg_fps": 28.564,
|
||||
"low_1pct_fps": 4.023,
|
||||
"low_01pct_fps": 2.927,
|
||||
"p50_ms": 22.196,
|
||||
"p95_ms": 99.833,
|
||||
"p99_ms": 195.141,
|
||||
"p999_ms": 341.688,
|
||||
"max_ms": 341.688,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
17,
|
||||
39,
|
||||
30,
|
||||
28,
|
||||
32,
|
||||
45,
|
||||
46,
|
||||
24,
|
||||
22,
|
||||
18,
|
||||
25,
|
||||
9,
|
||||
6,
|
||||
2,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 631,
|
||||
"seconds": 12.01,
|
||||
"avg_fps": 52.54,
|
||||
"low_1pct_fps": 10.617,
|
||||
"low_01pct_fps": 9.034,
|
||||
"p50_ms": 13.716,
|
||||
"p95_ms": 49.488,
|
||||
"p99_ms": 87.282,
|
||||
"p999_ms": 110.687,
|
||||
"max_ms": 110.687,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
20,
|
||||
99,
|
||||
130,
|
||||
77,
|
||||
92,
|
||||
40,
|
||||
43,
|
||||
52,
|
||||
26,
|
||||
22,
|
||||
17,
|
||||
12,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 1,
|
||||
"frames": 646,
|
||||
"seconds": 12.08,
|
||||
"avg_fps": 53.477,
|
||||
"low_1pct_fps": 6.935,
|
||||
"low_01pct_fps": 3.274,
|
||||
"p50_ms": 12.88,
|
||||
"p95_ms": 51.476,
|
||||
"p99_ms": 95.547,
|
||||
"p999_ms": 305.469,
|
||||
"max_ms": 305.469,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
29,
|
||||
112,
|
||||
135,
|
||||
98,
|
||||
80,
|
||||
47,
|
||||
45,
|
||||
34,
|
||||
14,
|
||||
16,
|
||||
20,
|
||||
9,
|
||||
4,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 2,
|
||||
"frames": 464,
|
||||
"seconds": 12.007,
|
||||
"avg_fps": 38.643,
|
||||
"low_1pct_fps": 6.195,
|
||||
"low_01pct_fps": 4.956,
|
||||
"p50_ms": 13.978,
|
||||
"p95_ms": 88.331,
|
||||
"p99_ms": 146.049,
|
||||
"p999_ms": 201.767,
|
||||
"max_ms": 201.767,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
29,
|
||||
64,
|
||||
86,
|
||||
54,
|
||||
44,
|
||||
34,
|
||||
26,
|
||||
28,
|
||||
14,
|
||||
20,
|
||||
23,
|
||||
27,
|
||||
12,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 223,
|
||||
"seconds": 12.021,
|
||||
"avg_fps": 18.55,
|
||||
"low_1pct_fps": 2.245,
|
||||
"low_01pct_fps": 1.441,
|
||||
"p50_ms": 33.819,
|
||||
"p95_ms": 148.781,
|
||||
"p99_ms": 257.941,
|
||||
"p999_ms": 693.793,
|
||||
"max_ms": 693.793,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
6,
|
||||
14,
|
||||
20,
|
||||
23,
|
||||
26,
|
||||
19,
|
||||
9,
|
||||
21,
|
||||
26,
|
||||
30,
|
||||
16,
|
||||
8,
|
||||
2,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 1,
|
||||
"frames": 470,
|
||||
"seconds": 12.01,
|
||||
"avg_fps": 39.134,
|
||||
"low_1pct_fps": 5.719,
|
||||
"low_01pct_fps": 2.329,
|
||||
"p50_ms": 19.327,
|
||||
"p95_ms": 55.82,
|
||||
"p99_ms": 103.388,
|
||||
"p999_ms": 429.314,
|
||||
"max_ms": 429.314,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
6,
|
||||
63,
|
||||
55,
|
||||
63,
|
||||
58,
|
||||
65,
|
||||
67,
|
||||
25,
|
||||
33,
|
||||
18,
|
||||
11,
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 2,
|
||||
"frames": 151,
|
||||
"seconds": 12.075,
|
||||
"avg_fps": 12.505,
|
||||
"low_1pct_fps": 1.469,
|
||||
"low_01pct_fps": 1.033,
|
||||
"p50_ms": 38.238,
|
||||
"p95_ms": 192.226,
|
||||
"p99_ms": 393.788,
|
||||
"p999_ms": 967.961,
|
||||
"max_ms": 967.961,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
7,
|
||||
8,
|
||||
13,
|
||||
14,
|
||||
18,
|
||||
8,
|
||||
6,
|
||||
3,
|
||||
12,
|
||||
8,
|
||||
26,
|
||||
22,
|
||||
3,
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "vanilla-macmini"
|
||||
}
|
||||
@@ -0,0 +1,606 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:03:59Z",
|
||||
"app": {
|
||||
"name": "horizon-client",
|
||||
"version": "0.1.0",
|
||||
"commit": "02260048"
|
||||
},
|
||||
"hardware": {
|
||||
"os": "linux",
|
||||
"arch": "x86_64",
|
||||
"cpu_threads": 4,
|
||||
"os_version": "NixOS 26.05 (Yarara) (kernel 6.18.55)",
|
||||
"cpu": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
|
||||
"ram_mb": 31984,
|
||||
"gpu": {
|
||||
"name": "Intel(R) HD Graphics 620 (KBL GT2)",
|
||||
"vendor": "intel",
|
||||
"driver": "Intel open-source Mesa driver Mesa 26.1.8",
|
||||
"backend": "vulkan",
|
||||
"kind": "integrated"
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 12,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 2,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 0.988,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 2,
|
||||
"mean": 3359.833,
|
||||
"stdev": 71.241,
|
||||
"min": 3309.458,
|
||||
"max": 3410.208,
|
||||
"ci95": 640.068
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 2,
|
||||
"mean": 50794.052,
|
||||
"stdev": 11192.703,
|
||||
"min": 42879.616,
|
||||
"max": 58708.488,
|
||||
"ci95": 100560.827
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 2,
|
||||
"mean": 44860.072,
|
||||
"stdev": 4027.103,
|
||||
"min": 42012.48,
|
||||
"max": 47707.664,
|
||||
"ci95": 36181.501
|
||||
},
|
||||
"chunks.village.meshed_count": {
|
||||
"n": 2,
|
||||
"mean": 18412.5,
|
||||
"stdev": 723.37,
|
||||
"min": 17901.0,
|
||||
"max": 18924.0,
|
||||
"ci95": 6499.119
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 2,
|
||||
"mean": 272.998,
|
||||
"stdev": 15.604,
|
||||
"min": 261.964,
|
||||
"max": 284.031,
|
||||
"ci95": 140.192
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 45.939,
|
||||
"stdev": 2.832,
|
||||
"min": 43.936,
|
||||
"max": 47.941,
|
||||
"ci95": 25.444
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 29.722,
|
||||
"stdev": 2.801,
|
||||
"min": 27.741,
|
||||
"max": 31.702,
|
||||
"ci95": 25.164
|
||||
},
|
||||
"memory.village.gpu_mb": {
|
||||
"n": 2,
|
||||
"mean": 402.965,
|
||||
"stdev": 2.093,
|
||||
"min": 401.486,
|
||||
"max": 404.445,
|
||||
"ci95": 18.804
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 2,
|
||||
"mean": 67527.123,
|
||||
"stdev": 1738.341,
|
||||
"min": 66297.93,
|
||||
"max": 68756.315,
|
||||
"ci95": 15618.12
|
||||
},
|
||||
"chunks.forest.meshed_count": {
|
||||
"n": 2,
|
||||
"mean": 23490.0,
|
||||
"stdev": 992.778,
|
||||
"min": 22788.0,
|
||||
"max": 24192.0,
|
||||
"ci95": 8919.612
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 2,
|
||||
"mean": 246.342,
|
||||
"stdev": 2.258,
|
||||
"min": 244.745,
|
||||
"max": 247.939,
|
||||
"ci95": 20.291
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 48.098,
|
||||
"stdev": 2.354,
|
||||
"min": 46.433,
|
||||
"max": 49.762,
|
||||
"ci95": 21.149
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 31.405,
|
||||
"stdev": 2.788,
|
||||
"min": 29.433,
|
||||
"max": 33.376,
|
||||
"ci95": 25.05
|
||||
},
|
||||
"memory.forest.gpu_mb": {
|
||||
"n": 2,
|
||||
"mean": 458.26,
|
||||
"stdev": 2.943,
|
||||
"min": 456.179,
|
||||
"max": 460.341,
|
||||
"ci95": 26.443
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 2,
|
||||
"mean": 51484.922,
|
||||
"stdev": 3499.487,
|
||||
"min": 49010.411,
|
||||
"max": 53959.434,
|
||||
"ci95": 31441.14
|
||||
},
|
||||
"chunks.ocean.meshed_count": {
|
||||
"n": 2,
|
||||
"mean": 17323.5,
|
||||
"stdev": 75.66,
|
||||
"min": 17270.0,
|
||||
"max": 17377.0,
|
||||
"ci95": 679.771
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 2,
|
||||
"mean": 204.022,
|
||||
"stdev": 2.495,
|
||||
"min": 202.258,
|
||||
"max": 205.786,
|
||||
"ci95": 22.413
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 36.306,
|
||||
"stdev": 0.351,
|
||||
"min": 36.058,
|
||||
"max": 36.554,
|
||||
"ci95": 3.151
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 25.509,
|
||||
"stdev": 0.501,
|
||||
"min": 25.155,
|
||||
"max": 25.863,
|
||||
"ci95": 4.498
|
||||
},
|
||||
"memory.ocean.gpu_mb": {
|
||||
"n": 2,
|
||||
"mean": 421.627,
|
||||
"stdev": 3.887,
|
||||
"min": 418.878,
|
||||
"max": 424.376,
|
||||
"ci95": 34.926
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 2,
|
||||
"mean": 75031.799,
|
||||
"stdev": 8886.455,
|
||||
"min": 68748.127,
|
||||
"max": 81315.471,
|
||||
"ci95": 79840.341
|
||||
},
|
||||
"chunks.mountain.meshed_count": {
|
||||
"n": 2,
|
||||
"mean": 17961.5,
|
||||
"stdev": 225.567,
|
||||
"min": 17802.0,
|
||||
"max": 18121.0,
|
||||
"ci95": 2026.607
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 2,
|
||||
"mean": 111.151,
|
||||
"stdev": 5.637,
|
||||
"min": 107.165,
|
||||
"max": 115.137,
|
||||
"ci95": 50.646
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 25.851,
|
||||
"stdev": 13.871,
|
||||
"min": 16.043,
|
||||
"max": 35.659,
|
||||
"ci95": 124.62
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 2,
|
||||
"mean": 17.065,
|
||||
"stdev": 8.985,
|
||||
"min": 10.711,
|
||||
"max": 23.418,
|
||||
"ci95": 80.728
|
||||
},
|
||||
"memory.mountain.gpu_mb": {
|
||||
"n": 2,
|
||||
"mean": 602.19,
|
||||
"stdev": 3.887,
|
||||
"min": 599.441,
|
||||
"max": 604.938,
|
||||
"ci95": 34.926
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 2,
|
||||
"mean": 986.4,
|
||||
"stdev": 4.593,
|
||||
"min": 983.152,
|
||||
"max": 989.648,
|
||||
"ci95": 41.27
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 2,
|
||||
"mean": 797.12,
|
||||
"stdev": 11.351,
|
||||
"min": 789.094,
|
||||
"max": 805.146,
|
||||
"ci95": 101.983
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 3409,
|
||||
"seconds": 12.002,
|
||||
"avg_fps": 284.031,
|
||||
"low_1pct_fps": 43.936,
|
||||
"low_01pct_fps": 27.741,
|
||||
"p50_ms": 2.557,
|
||||
"p95_ms": 10.879,
|
||||
"p99_ms": 16.323,
|
||||
"p999_ms": 34.079,
|
||||
"max_ms": 39.182,
|
||||
"cpu_p50_ms": 2.08,
|
||||
"gpu_p50_ms": 2.486,
|
||||
"histogram": [
|
||||
0,
|
||||
549,
|
||||
1776,
|
||||
607,
|
||||
95,
|
||||
66,
|
||||
35,
|
||||
17,
|
||||
41,
|
||||
117,
|
||||
46,
|
||||
27,
|
||||
16,
|
||||
7,
|
||||
5,
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 1,
|
||||
"frames": 3144,
|
||||
"seconds": 12.002,
|
||||
"avg_fps": 261.964,
|
||||
"low_1pct_fps": 47.941,
|
||||
"low_01pct_fps": 31.702,
|
||||
"p50_ms": 2.82,
|
||||
"p95_ms": 11.328,
|
||||
"p99_ms": 15.64,
|
||||
"p999_ms": 25.788,
|
||||
"max_ms": 46.032,
|
||||
"cpu_p50_ms": 2.305,
|
||||
"gpu_p50_ms": 3.02,
|
||||
"histogram": [
|
||||
0,
|
||||
109,
|
||||
1797,
|
||||
717,
|
||||
128,
|
||||
67,
|
||||
34,
|
||||
20,
|
||||
53,
|
||||
102,
|
||||
59,
|
||||
32,
|
||||
10,
|
||||
10,
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 2937,
|
||||
"seconds": 12.0,
|
||||
"avg_fps": 244.745,
|
||||
"low_1pct_fps": 49.762,
|
||||
"low_01pct_fps": 33.376,
|
||||
"p50_ms": 2.77,
|
||||
"p95_ms": 11.641,
|
||||
"p99_ms": 16.127,
|
||||
"p999_ms": 28.686,
|
||||
"max_ms": 31.833,
|
||||
"cpu_p50_ms": 2.211,
|
||||
"gpu_p50_ms": 3.023,
|
||||
"histogram": [
|
||||
0,
|
||||
65,
|
||||
1619,
|
||||
360,
|
||||
323,
|
||||
233,
|
||||
55,
|
||||
31,
|
||||
57,
|
||||
61,
|
||||
73,
|
||||
41,
|
||||
9,
|
||||
4,
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 1,
|
||||
"frames": 2976,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 247.939,
|
||||
"low_1pct_fps": 46.433,
|
||||
"low_01pct_fps": 29.433,
|
||||
"p50_ms": 2.712,
|
||||
"p95_ms": 11.957,
|
||||
"p99_ms": 16.649,
|
||||
"p999_ms": 33.203,
|
||||
"max_ms": 34.667,
|
||||
"cpu_p50_ms": 2.118,
|
||||
"gpu_p50_ms": 2.977,
|
||||
"histogram": [
|
||||
0,
|
||||
107,
|
||||
1608,
|
||||
453,
|
||||
236,
|
||||
226,
|
||||
58,
|
||||
45,
|
||||
48,
|
||||
49,
|
||||
74,
|
||||
43,
|
||||
16,
|
||||
7,
|
||||
4,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 2428,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 202.258,
|
||||
"low_1pct_fps": 36.058,
|
||||
"low_01pct_fps": 25.863,
|
||||
"p50_ms": 3.921,
|
||||
"p95_ms": 13.515,
|
||||
"p99_ms": 20.018,
|
||||
"p999_ms": 37.372,
|
||||
"max_ms": 39.911,
|
||||
"cpu_p50_ms": 2.261,
|
||||
"gpu_p50_ms": 4.35,
|
||||
"histogram": [
|
||||
0,
|
||||
25,
|
||||
850,
|
||||
514,
|
||||
460,
|
||||
214,
|
||||
51,
|
||||
33,
|
||||
27,
|
||||
42,
|
||||
115,
|
||||
47,
|
||||
25,
|
||||
8,
|
||||
13,
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 1,
|
||||
"frames": 2467,
|
||||
"seconds": 11.988,
|
||||
"avg_fps": 205.786,
|
||||
"low_1pct_fps": 36.554,
|
||||
"low_01pct_fps": 25.155,
|
||||
"p50_ms": 3.432,
|
||||
"p95_ms": 13.9,
|
||||
"p99_ms": 21.587,
|
||||
"p999_ms": 36.46,
|
||||
"max_ms": 41.679,
|
||||
"cpu_p50_ms": 2.325,
|
||||
"gpu_p50_ms": 3.908,
|
||||
"histogram": [
|
||||
0,
|
||||
13,
|
||||
1018,
|
||||
563,
|
||||
304,
|
||||
166,
|
||||
66,
|
||||
35,
|
||||
36,
|
||||
66,
|
||||
81,
|
||||
58,
|
||||
31,
|
||||
19,
|
||||
7,
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 1383,
|
||||
"seconds": 12.012,
|
||||
"avg_fps": 115.137,
|
||||
"low_1pct_fps": 35.659,
|
||||
"low_01pct_fps": 23.418,
|
||||
"p50_ms": 8.232,
|
||||
"p95_ms": 16.336,
|
||||
"p99_ms": 21.375,
|
||||
"p999_ms": 35.291,
|
||||
"max_ms": 50.114,
|
||||
"cpu_p50_ms": 3.875,
|
||||
"gpu_p50_ms": 8.272,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
30,
|
||||
150,
|
||||
102,
|
||||
95,
|
||||
114,
|
||||
220,
|
||||
297,
|
||||
135,
|
||||
86,
|
||||
92,
|
||||
40,
|
||||
15,
|
||||
4,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 1,
|
||||
"frames": 1286,
|
||||
"seconds": 12.0,
|
||||
"avg_fps": 107.165,
|
||||
"low_1pct_fps": 16.043,
|
||||
"low_01pct_fps": 10.711,
|
||||
"p50_ms": 7.582,
|
||||
"p95_ms": 20.742,
|
||||
"p99_ms": 46.27,
|
||||
"p999_ms": 82.86,
|
||||
"max_ms": 103.861,
|
||||
"cpu_p50_ms": 3.753,
|
||||
"gpu_p50_ms": 7.922,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
62,
|
||||
156,
|
||||
96,
|
||||
86,
|
||||
110,
|
||||
259,
|
||||
188,
|
||||
73,
|
||||
61,
|
||||
88,
|
||||
42,
|
||||
23,
|
||||
21,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "horizon-thinkpad"
|
||||
}
|
||||
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:14:38Z",
|
||||
"app": {
|
||||
"name": "minecraft",
|
||||
"version": "26.3",
|
||||
"mods": [
|
||||
{
|
||||
"name": "fabric-loader",
|
||||
"version": "0.19.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hardware": {
|
||||
"os": "linux",
|
||||
"arch": "x86_64",
|
||||
"cpu_threads": 4,
|
||||
"os_version": "NixOS 26.05 (Yarara) (kernel 6.18.55)",
|
||||
"cpu": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
|
||||
"ram_mb": 31984,
|
||||
"gpu": {
|
||||
"name": "Mesa Intel(R) HD Graphics 620 (KBL GT2)",
|
||||
"vendor": "Intel",
|
||||
"driver": "4.6 (Core Profile) Mesa 26.1.8",
|
||||
"backend": "opengl",
|
||||
"kind": ""
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 12,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 1,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 5.749,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 1,
|
||||
"mean": 16138.646,
|
||||
"stdev": null,
|
||||
"min": 16138.646,
|
||||
"max": 16138.646,
|
||||
"ci95": null
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 1,
|
||||
"mean": 68774.646,
|
||||
"stdev": null,
|
||||
"min": 68774.646,
|
||||
"max": 68774.646,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 53635.946,
|
||||
"stdev": null,
|
||||
"min": 53635.946,
|
||||
"max": 53635.946,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 89.712,
|
||||
"stdev": null,
|
||||
"min": 89.712,
|
||||
"max": 89.712,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 23.313,
|
||||
"stdev": null,
|
||||
"min": 23.313,
|
||||
"max": 23.313,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 17.52,
|
||||
"stdev": null,
|
||||
"min": 17.52,
|
||||
"max": 17.52,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 45938.493,
|
||||
"stdev": null,
|
||||
"min": 45938.493,
|
||||
"max": 45938.493,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 104.223,
|
||||
"stdev": null,
|
||||
"min": 104.223,
|
||||
"max": 104.223,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 29.079,
|
||||
"stdev": null,
|
||||
"min": 29.079,
|
||||
"max": 29.079,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 19.181,
|
||||
"stdev": null,
|
||||
"min": 19.181,
|
||||
"max": 19.181,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 32096.642,
|
||||
"stdev": null,
|
||||
"min": 32096.642,
|
||||
"max": 32096.642,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 103.183,
|
||||
"stdev": null,
|
||||
"min": 103.183,
|
||||
"max": 103.183,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 22.0,
|
||||
"stdev": null,
|
||||
"min": 22.0,
|
||||
"max": 22.0,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 12.275,
|
||||
"stdev": null,
|
||||
"min": 12.275,
|
||||
"max": 12.275,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 56418.74,
|
||||
"stdev": null,
|
||||
"min": 56418.74,
|
||||
"max": 56418.74,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 205.996,
|
||||
"stdev": null,
|
||||
"min": 205.996,
|
||||
"max": 205.996,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 41.77,
|
||||
"stdev": null,
|
||||
"min": 41.77,
|
||||
"max": 41.77,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 23.358,
|
||||
"stdev": null,
|
||||
"min": 23.358,
|
||||
"max": 23.358,
|
||||
"ci95": null
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 1,
|
||||
"mean": 2200.957,
|
||||
"stdev": null,
|
||||
"min": 2200.957,
|
||||
"max": 2200.957,
|
||||
"ci95": null
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 1,
|
||||
"mean": 2126.844,
|
||||
"stdev": null,
|
||||
"min": 2126.844,
|
||||
"max": 2126.844,
|
||||
"ci95": null
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 1077,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 89.712,
|
||||
"low_1pct_fps": 23.313,
|
||||
"low_01pct_fps": 17.52,
|
||||
"p50_ms": 9.15,
|
||||
"p95_ms": 23.582,
|
||||
"p99_ms": 34.847,
|
||||
"p999_ms": 56.312,
|
||||
"max_ms": 57.842,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
36,
|
||||
106,
|
||||
149,
|
||||
175,
|
||||
132,
|
||||
138,
|
||||
92,
|
||||
88,
|
||||
71,
|
||||
47,
|
||||
28,
|
||||
8,
|
||||
2,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1251,
|
||||
"seconds": 12.003,
|
||||
"avg_fps": 104.223,
|
||||
"low_1pct_fps": 29.079,
|
||||
"low_01pct_fps": 19.181,
|
||||
"p50_ms": 8.002,
|
||||
"p95_ms": 18.85,
|
||||
"p99_ms": 26.464,
|
||||
"p999_ms": 50.754,
|
||||
"max_ms": 53.518,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
4,
|
||||
20,
|
||||
136,
|
||||
223,
|
||||
302,
|
||||
197,
|
||||
124,
|
||||
70,
|
||||
75,
|
||||
53,
|
||||
31,
|
||||
12,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 1239,
|
||||
"seconds": 12.008,
|
||||
"avg_fps": 103.183,
|
||||
"low_1pct_fps": 22.0,
|
||||
"low_01pct_fps": 12.275,
|
||||
"p50_ms": 7.959,
|
||||
"p95_ms": 18.934,
|
||||
"p99_ms": 24.948,
|
||||
"p999_ms": 74.736,
|
||||
"max_ms": 88.202,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
8,
|
||||
126,
|
||||
335,
|
||||
189,
|
||||
192,
|
||||
144,
|
||||
73,
|
||||
56,
|
||||
71,
|
||||
32,
|
||||
6,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 2473,
|
||||
"seconds": 12.005,
|
||||
"avg_fps": 205.996,
|
||||
"low_1pct_fps": 41.77,
|
||||
"low_01pct_fps": 23.358,
|
||||
"p50_ms": 3.996,
|
||||
"p95_ms": 10.11,
|
||||
"p99_ms": 17.299,
|
||||
"p999_ms": 37.643,
|
||||
"max_ms": 46.668,
|
||||
"histogram": [
|
||||
0,
|
||||
1,
|
||||
756,
|
||||
577,
|
||||
279,
|
||||
317,
|
||||
222,
|
||||
107,
|
||||
82,
|
||||
60,
|
||||
26,
|
||||
18,
|
||||
16,
|
||||
5,
|
||||
3,
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "vanilla-thinkpad-r1"
|
||||
}
|
||||
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"format": "horizon-benchmark-report",
|
||||
"version": 1,
|
||||
"kind": "game",
|
||||
"created": "2026-10-22T19:20:01Z",
|
||||
"app": {
|
||||
"name": "minecraft",
|
||||
"version": "26.3",
|
||||
"mods": [
|
||||
{
|
||||
"name": "fabric-loader",
|
||||
"version": "0.19.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hardware": {
|
||||
"os": "linux",
|
||||
"arch": "x86_64",
|
||||
"cpu_threads": 4,
|
||||
"os_version": "NixOS 26.05 (Yarara) (kernel 6.18.55)",
|
||||
"cpu": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
|
||||
"ram_mb": 31984,
|
||||
"gpu": {
|
||||
"name": "Mesa Intel(R) HD Graphics 620 (KBL GT2)",
|
||||
"vendor": "Intel",
|
||||
"driver": "4.6 (Core Profile) Mesa 26.1.8",
|
||||
"backend": "opengl",
|
||||
"kind": ""
|
||||
}
|
||||
},
|
||||
"conditions": {
|
||||
"scenario": "perf_bench:village,forest,ocean,mountain",
|
||||
"seed": "1234",
|
||||
"render_distance": 12,
|
||||
"simulation_distance": 12,
|
||||
"vsync": false,
|
||||
"offscreen": false,
|
||||
"repeats": 1,
|
||||
"warmup_s": 2.0,
|
||||
"load_avg_1m": 5.332,
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"startup.title_ms": {
|
||||
"n": 1,
|
||||
"mean": 17463.142,
|
||||
"stdev": null,
|
||||
"min": 17463.142,
|
||||
"max": 17463.142,
|
||||
"ci95": null
|
||||
},
|
||||
"startup.world_ms": {
|
||||
"n": 1,
|
||||
"mean": 67480.142,
|
||||
"stdev": null,
|
||||
"min": 67480.142,
|
||||
"max": 67480.142,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.village.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 50565.877,
|
||||
"stdev": null,
|
||||
"min": 50565.877,
|
||||
"max": 50565.877,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 93.221,
|
||||
"stdev": null,
|
||||
"min": 93.221,
|
||||
"max": 93.221,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 20.719,
|
||||
"stdev": null,
|
||||
"min": 20.719,
|
||||
"max": 20.719,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.village.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 12.956,
|
||||
"stdev": null,
|
||||
"min": 12.956,
|
||||
"max": 12.956,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.forest.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 48496.598,
|
||||
"stdev": null,
|
||||
"min": 48496.598,
|
||||
"max": 48496.598,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 103.859,
|
||||
"stdev": null,
|
||||
"min": 103.859,
|
||||
"max": 103.859,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 26.111,
|
||||
"stdev": null,
|
||||
"min": 26.111,
|
||||
"max": 26.111,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.forest.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 17.943,
|
||||
"stdev": null,
|
||||
"min": 17.943,
|
||||
"max": 17.943,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.ocean.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 34745.051,
|
||||
"stdev": null,
|
||||
"min": 34745.051,
|
||||
"max": 34745.051,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 103.828,
|
||||
"stdev": null,
|
||||
"min": 103.828,
|
||||
"max": 103.828,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 28.222,
|
||||
"stdev": null,
|
||||
"min": 28.222,
|
||||
"max": 28.222,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.ocean.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 16.856,
|
||||
"stdev": null,
|
||||
"min": 16.856,
|
||||
"max": 16.856,
|
||||
"ci95": null
|
||||
},
|
||||
"chunks.mountain.load_ms": {
|
||||
"n": 1,
|
||||
"mean": 53136.991,
|
||||
"stdev": null,
|
||||
"min": 53136.991,
|
||||
"max": 53136.991,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.avg_fps": {
|
||||
"n": 1,
|
||||
"mean": 204.734,
|
||||
"stdev": null,
|
||||
"min": 204.734,
|
||||
"max": 204.734,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.low_1pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 43.014,
|
||||
"stdev": null,
|
||||
"min": 43.014,
|
||||
"max": 43.014,
|
||||
"ci95": null
|
||||
},
|
||||
"fps.mountain.low_01pct_fps": {
|
||||
"n": 1,
|
||||
"mean": 20.945,
|
||||
"stdev": null,
|
||||
"min": 20.945,
|
||||
"max": 20.945,
|
||||
"ci95": null
|
||||
},
|
||||
"memory.rss_peak_mb": {
|
||||
"n": 1,
|
||||
"mean": 2086.688,
|
||||
"stdev": null,
|
||||
"min": 2086.688,
|
||||
"max": 2086.688,
|
||||
"ci95": null
|
||||
},
|
||||
"memory.rss_steady_mb": {
|
||||
"n": 1,
|
||||
"mean": 2020.902,
|
||||
"stdev": null,
|
||||
"min": 2020.902,
|
||||
"max": 2020.902,
|
||||
"ci95": null
|
||||
}
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"phase": "village",
|
||||
"repeat": 0,
|
||||
"frames": 1119,
|
||||
"seconds": 12.004,
|
||||
"avg_fps": 93.221,
|
||||
"low_1pct_fps": 20.719,
|
||||
"low_01pct_fps": 12.956,
|
||||
"p50_ms": 8.87,
|
||||
"p95_ms": 20.999,
|
||||
"p99_ms": 32.814,
|
||||
"p999_ms": 69.794,
|
||||
"max_ms": 84.579,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
19,
|
||||
130,
|
||||
125,
|
||||
211,
|
||||
187,
|
||||
140,
|
||||
89,
|
||||
85,
|
||||
63,
|
||||
40,
|
||||
18,
|
||||
4,
|
||||
2,
|
||||
3,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "forest",
|
||||
"repeat": 0,
|
||||
"frames": 1247,
|
||||
"seconds": 12.007,
|
||||
"avg_fps": 103.859,
|
||||
"low_1pct_fps": 26.111,
|
||||
"low_01pct_fps": 17.943,
|
||||
"p50_ms": 8.071,
|
||||
"p95_ms": 20.077,
|
||||
"p99_ms": 27.606,
|
||||
"p999_ms": 48.322,
|
||||
"max_ms": 63.142,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2,
|
||||
36,
|
||||
171,
|
||||
170,
|
||||
296,
|
||||
231,
|
||||
125,
|
||||
52,
|
||||
43,
|
||||
57,
|
||||
41,
|
||||
14,
|
||||
5,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ocean",
|
||||
"repeat": 0,
|
||||
"frames": 1246,
|
||||
"seconds": 12.001,
|
||||
"avg_fps": 103.828,
|
||||
"low_1pct_fps": 28.222,
|
||||
"low_01pct_fps": 16.856,
|
||||
"p50_ms": 7.949,
|
||||
"p95_ms": 17.653,
|
||||
"p99_ms": 24.326,
|
||||
"p999_ms": 50.371,
|
||||
"max_ms": 68.283,
|
||||
"histogram": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
72,
|
||||
329,
|
||||
263,
|
||||
142,
|
||||
179,
|
||||
116,
|
||||
60,
|
||||
52,
|
||||
20,
|
||||
4,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "mountain",
|
||||
"repeat": 0,
|
||||
"frames": 2457,
|
||||
"seconds": 12.001,
|
||||
"avg_fps": 204.734,
|
||||
"low_1pct_fps": 43.014,
|
||||
"low_01pct_fps": 20.945,
|
||||
"p50_ms": 4.356,
|
||||
"p95_ms": 9.472,
|
||||
"p99_ms": 14.185,
|
||||
"p999_ms": 34.466,
|
||||
"max_ms": 57.719,
|
||||
"histogram": [
|
||||
0,
|
||||
2,
|
||||
633,
|
||||
520,
|
||||
318,
|
||||
417,
|
||||
268,
|
||||
128,
|
||||
68,
|
||||
60,
|
||||
17,
|
||||
11,
|
||||
4,
|
||||
4,
|
||||
3,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"label": "vanilla-thinkpad-r2"
|
||||
}
|
||||
@@ -21,7 +21,7 @@ The numbers below are Horizon before and after a round of performance work, on a
|
||||
|
||||
The full tables, with the method and the Linux software-rendering run, are in [docs/graphics.md](https://github.com/ludovic111/horizon/blob/main/docs/graphics.md#results).
|
||||
|
||||
**Horizon against vanilla.** The benchmark exists: `tools/perf_bench.py` starts Horizon, vanilla 26.3 and vanilla with Sodium, Lithium, FerriteCore and ImmediatelyFast on the same machine, world, camera path and settings, and computes every number the same way. [docs/benchmark.md](https://github.com/ludovic111/horizon/blob/main/docs/benchmark.md) says how it keeps the comparison fair. **We have not published its results for the client yet**, so this site does not claim a number.
|
||||
**Horizon against vanilla.** The benchmark exists: `tools/perf_bench.py` starts Horizon, vanilla 26.3 and vanilla with Sodium, Lithium, FerriteCore and ImmediatelyFast on the same machine, world, camera path and settings, and computes every number the same way. [docs/benchmark.md](https://github.com/ludovic111/horizon/blob/main/docs/benchmark.md) says how it keeps the comparison fair. Its results for the client, measured on the project's own machines, are on the [Benchmarks page](/benchmarks), with the places where Java is faster. It also estimates other hardware from them, as a range, and shows players' uploaded results once at least three installs share a graphics card and processor.
|
||||
|
||||
**Measure your own computer.** Horizon's half of that benchmark runs on its own:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"dev": "node build.mjs && node serve.mjs",
|
||||
"assets": "node scripts/assets.mjs",
|
||||
"shots": "node scripts/shots.mjs",
|
||||
"test": "node --test src/"
|
||||
"test": "node --test src/ scripts/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sharp": "^0.34.4",
|
||||
|
||||
@@ -0,0 +1,318 @@
|
||||
{
|
||||
"format": "horizon-benchmark-summary",
|
||||
"version": 1,
|
||||
"generated": "2026-10-22T20:35:03Z",
|
||||
"min_installs": 3,
|
||||
"groups": [
|
||||
{
|
||||
"gpu": "Apple M4 Pro",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"render_distance": 12,
|
||||
"game": "horizon",
|
||||
"source": "us",
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "v2026.10.22.04",
|
||||
"backend": "metal",
|
||||
"os": "macos",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 3,
|
||||
"load_avg_1m": 55.691,
|
||||
"note": "On macOS this Horizon build presents its frames in step with the 144 Hz display even with VSync off, so its average frame rate here is capped at 144: compare the 1% lows and frame times instead. The Mac mini was also running other jobs during the runs (CI, simulators; 1-minute load average 20 to 56 on 14 threads), which costs both games, vanilla more at render distance 32.",
|
||||
"capped_fps": 144,
|
||||
"medians": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 97,
|
||||
"p95_ms": 7.7,
|
||||
"world_ms": 11075,
|
||||
"chunk_load_ms": 9438,
|
||||
"rss_peak_mb": 1332,
|
||||
"rss_steady_mb": 1201,
|
||||
"cpu_p50_ms": 0.7,
|
||||
"gpu_p50_ms": null
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 97,
|
||||
"chunk_load_ms": 6990
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 100,
|
||||
"chunk_load_ms": 10500
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 98,
|
||||
"chunk_load_ms": 10672
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 94,
|
||||
"chunk_load_ms": 9588
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu": "Apple M4 Pro",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"render_distance": 32,
|
||||
"game": "horizon",
|
||||
"source": "us",
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "v2026.10.22.04",
|
||||
"backend": "metal",
|
||||
"os": "macos",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 3,
|
||||
"load_avg_1m": 34.828,
|
||||
"capped_fps": 144,
|
||||
"medians": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 109,
|
||||
"p95_ms": 7.7,
|
||||
"world_ms": 16377,
|
||||
"chunk_load_ms": 16379,
|
||||
"rss_peak_mb": 2267,
|
||||
"rss_steady_mb": 1892,
|
||||
"cpu_p50_ms": 1.5,
|
||||
"gpu_p50_ms": null
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 101,
|
||||
"chunk_load_ms": 12453
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 114,
|
||||
"chunk_load_ms": 16309
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 119,
|
||||
"chunk_load_ms": 14322
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 144,
|
||||
"low_1pct_fps": 100,
|
||||
"chunk_load_ms": 22432
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu": "Apple M4 Pro",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"render_distance": 12,
|
||||
"game": "vanilla",
|
||||
"source": "us",
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "26.3",
|
||||
"backend": "opengl",
|
||||
"os": "macos",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 3,
|
||||
"load_avg_1m": 19.995,
|
||||
"medians": {
|
||||
"avg_fps": 123,
|
||||
"low_1pct_fps": 29,
|
||||
"p95_ms": 17,
|
||||
"world_ms": 22268,
|
||||
"chunk_load_ms": 10264,
|
||||
"rss_peak_mb": 2445,
|
||||
"rss_steady_mb": 2283,
|
||||
"cpu_p50_ms": null,
|
||||
"gpu_p50_ms": null
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 136,
|
||||
"low_1pct_fps": 40,
|
||||
"chunk_load_ms": 8374
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 115,
|
||||
"low_1pct_fps": 22,
|
||||
"chunk_load_ms": 10976
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 127,
|
||||
"low_1pct_fps": 29,
|
||||
"chunk_load_ms": 7219
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 112,
|
||||
"low_1pct_fps": 23,
|
||||
"chunk_load_ms": 14487
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu": "Apple M4 Pro",
|
||||
"cpu": "Apple M4 Pro",
|
||||
"render_distance": 32,
|
||||
"game": "vanilla",
|
||||
"source": "us",
|
||||
"machine": "Mac mini (M4 Pro)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "26.3",
|
||||
"backend": "opengl",
|
||||
"os": "macos",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 3,
|
||||
"load_avg_1m": 24.818,
|
||||
"medians": {
|
||||
"avg_fps": 43,
|
||||
"low_1pct_fps": 8,
|
||||
"p95_ms": 88,
|
||||
"world_ms": 65831,
|
||||
"chunk_load_ms": 50534,
|
||||
"rss_peak_mb": 2947,
|
||||
"rss_steady_mb": 2932,
|
||||
"cpu_p50_ms": null,
|
||||
"gpu_p50_ms": null
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 48,
|
||||
"low_1pct_fps": 6,
|
||||
"chunk_load_ms": 23987
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 54,
|
||||
"low_1pct_fps": 13,
|
||||
"chunk_load_ms": 36379
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 48,
|
||||
"low_1pct_fps": 8,
|
||||
"chunk_load_ms": 18553
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 23,
|
||||
"low_1pct_fps": 3,
|
||||
"chunk_load_ms": 123217
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu": "Intel HD Graphics 620 (KBL GT2)",
|
||||
"cpu": "Intel Core i7-7500U CPU @ 2.70GHz",
|
||||
"render_distance": 12,
|
||||
"game": "horizon",
|
||||
"source": "us",
|
||||
"machine": "ThinkPad (i7-7500U, HD Graphics 620)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "v2026.10.22.04",
|
||||
"backend": "vulkan",
|
||||
"os": "linux",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 2,
|
||||
"load_avg_1m": 0.988,
|
||||
"note": "A 2016 laptop: 2 cores / 4 threads and Intel integrated graphics, Linux with Mesa 26.1.8 (Horizon on Vulkan, vanilla on OpenGL). It has no screen attached, so both games drew to a GPU compositor (sway on the Intel GPU) in a 1280x720 window. Horizon ran two flights per scene, vanilla two separate games of one. Render distance 32 is not shown: in 5 minutes neither game finished loading the spawn, and given 25, Horizon kept only about 900 to 1,400 chunk columns resident on this machine instead of the 3,200 a full view holds, so the two games would not have drawn the same world.",
|
||||
"medians": {
|
||||
"avg_fps": 209,
|
||||
"low_1pct_fps": 39,
|
||||
"p95_ms": 14,
|
||||
"world_ms": 50794,
|
||||
"chunk_load_ms": 59726,
|
||||
"rss_peak_mb": 986,
|
||||
"rss_steady_mb": 797,
|
||||
"cpu_p50_ms": 2.6,
|
||||
"gpu_p50_ms": 4.5
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 273,
|
||||
"low_1pct_fps": 46,
|
||||
"chunk_load_ms": 44860
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 246,
|
||||
"low_1pct_fps": 48,
|
||||
"chunk_load_ms": 67527
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 204,
|
||||
"low_1pct_fps": 36,
|
||||
"chunk_load_ms": 51485
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 111,
|
||||
"low_1pct_fps": 26,
|
||||
"chunk_load_ms": 75032
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu": "Mesa Intel HD Graphics 620 (KBL GT2)",
|
||||
"cpu": "Intel Core i7-7500U CPU @ 2.70GHz",
|
||||
"render_distance": 12,
|
||||
"game": "vanilla",
|
||||
"source": "us",
|
||||
"machine": "ThinkPad (i7-7500U, HD Graphics 620)",
|
||||
"measured": "2026-10-22",
|
||||
"version": "26.3",
|
||||
"backend": "opengl",
|
||||
"os": "linux",
|
||||
"window": [
|
||||
1280,
|
||||
720
|
||||
],
|
||||
"repeats": 2,
|
||||
"load_avg_1m": 5.749,
|
||||
"medians": {
|
||||
"avg_fps": 126,
|
||||
"low_1pct_fps": 29,
|
||||
"p95_ms": 17,
|
||||
"world_ms": 68127,
|
||||
"chunk_load_ms": 46879,
|
||||
"rss_peak_mb": 2144,
|
||||
"rss_steady_mb": 2074,
|
||||
"cpu_p50_ms": null,
|
||||
"gpu_p50_ms": null
|
||||
},
|
||||
"scenes": {
|
||||
"village": {
|
||||
"avg_fps": 91,
|
||||
"low_1pct_fps": 22,
|
||||
"chunk_load_ms": 52101
|
||||
},
|
||||
"forest": {
|
||||
"avg_fps": 104,
|
||||
"low_1pct_fps": 28,
|
||||
"chunk_load_ms": 47218
|
||||
},
|
||||
"ocean": {
|
||||
"avg_fps": 104,
|
||||
"low_1pct_fps": 25,
|
||||
"chunk_load_ms": 33421
|
||||
},
|
||||
"mountain": {
|
||||
"avg_fps": 205,
|
||||
"low_1pct_fps": 42,
|
||||
"chunk_load_ms": 54778
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,196 @@
|
||||
// Benchmark results for the site: benchmark reports (docs/benchmark-report.md) in, the summary the Benchmarks page
|
||||
// reads out (public/benchmarks.json, and the telemetry server's GET /v1/benchmarks/summary in the same shape).
|
||||
//
|
||||
// node scripts/benchmarks.mjs --ours fleet.json [--telemetry items.jsonl] [-o public/benchmarks.json]
|
||||
//
|
||||
// --ours lists our own runs (tools/perf_bench.py reports, Horizon and vanilla, one machine each); --telemetry holds
|
||||
// players' `benchmark` items as the server stores them ({ install_id, day, version, data: <report> } per line).
|
||||
// Players' results are grouped by GPU, CPU, render distance and game, and a group is published only with at least
|
||||
// MIN_INSTALLS installs, so nobody can be picked out. install_id is used to count installs and to weigh each install
|
||||
// once, and never leaves this script; neither do the day, OS version, driver, RAM or screen.
|
||||
import { readFile, writeFile } from "node:fs/promises";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
export const FORMAT = "horizon-benchmark-summary";
|
||||
export const MIN_INSTALLS = 3;
|
||||
export const SCENES = ["village", "forest", "ocean", "mountain"];
|
||||
export const FIELDS = ["avg_fps", "low_1pct_fps", "p95_ms", "world_ms", "chunk_load_ms", "rss_peak_mb", "rss_steady_mb"];
|
||||
|
||||
const mean = (xs) => (xs.length ? xs.reduce((a, b) => a + b, 0) / xs.length : null);
|
||||
const finite = (x) => typeof x === "number" && Number.isFinite(x);
|
||||
export function median(xs) {
|
||||
const v = xs.filter(finite).sort((a, b) => a - b);
|
||||
if (!v.length) return null;
|
||||
const m = v.length >> 1;
|
||||
return v.length % 2 ? v[m] : (v[m - 1] + v[m]) / 2;
|
||||
}
|
||||
// fps to integers, milliseconds to a tenth under 10 and to integers above, megabytes to integers.
|
||||
export function round(field, x) {
|
||||
if (!finite(x)) return null;
|
||||
if (field.endsWith("_ms")) return x < 10 ? Math.round(x * 10) / 10 : Math.round(x);
|
||||
return Math.round(x);
|
||||
}
|
||||
const trim = (s) => (typeof s === "string" ? s.replace(/\(R\)|\(TM\)|\(tm\)/g, "").replace(/\s+/g, " ").trim() : "");
|
||||
const gameOf = (app) => (app?.name === "horizon-client" ? "horizon" : app?.name === "minecraft" && !(app.mods || []).some((m) => m.name !== "fabric-loader") ? "vanilla" : null);
|
||||
|
||||
// Why a report can't be compared with the others, or null when it can: the standard flight over the four scenes,
|
||||
// VSync off, no frame cap, drawn on a screen.
|
||||
export function rejection(report) {
|
||||
if (!report || report.format !== "horizon-benchmark-report" || report.version !== 1) return "not a version 1 benchmark report";
|
||||
if (report.kind !== "game") return "not a game run";
|
||||
if (!gameOf(report.app)) return "not Horizon or plain vanilla";
|
||||
const c = report.conditions || {};
|
||||
if (!(c.scenario === "standard" || c.scenario === "flight" || String(c.scenario || "").startsWith("perf_bench:"))) return "not the standard flight";
|
||||
if (c.vsync !== false) return "VSync on or unknown";
|
||||
if (c.fps_cap != null) return "frame rate capped";
|
||||
if (c.offscreen === true) return "offscreen";
|
||||
if (!finite(c.render_distance)) return "no render distance";
|
||||
const phases = new Set((report.frames || []).map((f) => f.phase));
|
||||
if (!SCENES.every((s) => phases.has(s))) return "not every scene";
|
||||
if (!trim(report.hardware?.gpu?.name) || !trim(report.hardware?.cpu)) return "no GPU or CPU name";
|
||||
return null;
|
||||
}
|
||||
|
||||
// One report's figures: frame figures averaged over every flight (scene and repeat), the rest from its metrics.
|
||||
export function figures(report) {
|
||||
const frames = report.frames || [];
|
||||
const m = report.metrics || {};
|
||||
const metric = (name) => (finite(m[name]?.mean) ? m[name].mean : null);
|
||||
const loads = Object.keys(m).filter((k) => /^chunks\.[^.]+\.load_ms$/.test(k)).map(metric).filter(finite);
|
||||
const avg = (key) => mean(frames.map((f) => f[key]).filter(finite));
|
||||
return {
|
||||
avg_fps: avg("avg_fps"),
|
||||
low_1pct_fps: avg("low_1pct_fps"),
|
||||
p95_ms: avg("p95_ms"),
|
||||
world_ms: metric("startup.world_ms"),
|
||||
chunk_load_ms: mean(loads),
|
||||
rss_peak_mb: metric("memory.rss_peak_mb"),
|
||||
rss_steady_mb: metric("memory.rss_steady_mb"),
|
||||
cpu_p50_ms: avg("cpu_p50_ms"),
|
||||
gpu_p50_ms: avg("gpu_p50_ms"),
|
||||
};
|
||||
}
|
||||
|
||||
const roundAll = (fig, fields) => Object.fromEntries(fields.map((f) => [f, round(f, fig[f])]));
|
||||
|
||||
// Players' items -> groups of at least minInstalls installs. Each install counts once: its median first, then the
|
||||
// median across installs.
|
||||
export function aggregatePlayers(items, { minInstalls = MIN_INSTALLS } = {}) {
|
||||
const groups = new Map();
|
||||
for (const item of items) {
|
||||
const report = item?.data;
|
||||
if (!item?.install_id || rejection(report)) continue;
|
||||
const key = JSON.stringify([trim(report.hardware.gpu.name), trim(report.hardware.cpu), report.conditions.render_distance, gameOf(report.app)]);
|
||||
if (!groups.has(key)) groups.set(key, { installs: new Map(), reports: 0, versions: new Set() });
|
||||
const g = groups.get(key);
|
||||
g.reports++;
|
||||
if (item.version) g.versions.add(item.version);
|
||||
if (!g.installs.has(item.install_id)) g.installs.set(item.install_id, []);
|
||||
g.installs.get(item.install_id).push(figures(report));
|
||||
}
|
||||
const out = [];
|
||||
for (const [key, g] of groups) {
|
||||
if (g.installs.size < minInstalls) continue;
|
||||
const [gpu, cpu, render_distance, game] = JSON.parse(key);
|
||||
const perInstall = [...g.installs.values()].map((runs) => Object.fromEntries(FIELDS.map((f) => [f, median(runs.map((r) => r[f]))])));
|
||||
const medians = Object.fromEntries(FIELDS.map((f) => [f, round(f, median(perInstall.map((r) => r[f])))]));
|
||||
out.push({ gpu, cpu, render_distance, game, source: "players", installs: g.installs.size, reports: g.reports, versions: [...g.versions].sort(byVersionDesc).slice(0, 3), medians });
|
||||
}
|
||||
// Most installs first, then by GPU, CPU, render distance and game, compared as plain strings (as the server does).
|
||||
const cmp = (x, y) => (x < y ? -1 : x > y ? 1 : 0);
|
||||
return out.sort((a, b) => b.installs - a.installs || cmp(a.gpu, b.gpu) || cmp(a.cpu, b.cpu) || a.render_distance - b.render_distance || cmp(a.game, b.game));
|
||||
}
|
||||
|
||||
// "v0.2.10" after "v0.2.9", dated tags by their numbers; good enough to list the newest three.
|
||||
function byVersionDesc(a, b) {
|
||||
const n = (v) => (v.match(/\d+/g) || []).map(Number);
|
||||
const [x, y] = [n(a), n(b)];
|
||||
for (let i = 0; i < Math.max(x.length, y.length); i++) if ((x[i] ?? -1) !== (y[i] ?? -1)) return (y[i] ?? -1) - (x[i] ?? -1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Our own runs: one row per machine, game and render distance, with what was measured and how. An entry holds one
|
||||
// report (its runs are the report's repeats) or several (one game each); figures are medians over the reports.
|
||||
export function ourRows(runs) {
|
||||
const rows = [];
|
||||
for (const { report, reports, machine, note, version, capped_fps } of runs) {
|
||||
const list = reports || [report];
|
||||
for (const r of list) {
|
||||
const why = rejection(r);
|
||||
if (why) throw new Error(`${machine}: ${r?.label || "report"} can't be published: ${why}`);
|
||||
}
|
||||
const [first] = list;
|
||||
const c = first.conditions;
|
||||
if (list.some((r) => r.conditions.render_distance !== c.render_distance || gameOf(r.app) !== gameOf(first.app) || r.app.version !== first.app.version))
|
||||
throw new Error(`${machine}: reports of different games, versions or render distances in one entry`);
|
||||
const figs = list.map(figures);
|
||||
const fig = Object.fromEntries(Object.keys(figs[0]).map((k) => [k, median(figs.map((f) => f[k]))]));
|
||||
const scenes = Object.fromEntries(
|
||||
SCENES.map((s) => {
|
||||
const fs = list.flatMap((r) => r.frames.filter((f) => f.phase === s));
|
||||
const loads = list.map((r) => r.metrics?.[`chunks.${s}.load_ms`]?.mean);
|
||||
return [s, { avg_fps: round("avg_fps", mean(fs.map((f) => f.avg_fps))), low_1pct_fps: round("low_1pct_fps", mean(fs.map((f) => f.low_1pct_fps))), chunk_load_ms: round("chunk_load_ms", median(loads)) }];
|
||||
}),
|
||||
);
|
||||
rows.push({
|
||||
gpu: trim(first.hardware.gpu.name),
|
||||
cpu: trim(first.hardware.cpu),
|
||||
render_distance: c.render_distance,
|
||||
game: gameOf(first.app),
|
||||
source: "us",
|
||||
machine,
|
||||
measured: list.map((r) => (r.created || "").slice(0, 10)).sort().at(-1),
|
||||
// A release build reports its crate version; the entry can name the release it was.
|
||||
version: version || first.app.version,
|
||||
backend: first.hardware.gpu.backend || null,
|
||||
os: first.hardware.os || null,
|
||||
window: c.window || null,
|
||||
repeats: list.reduce((n, r) => n + (r.conditions.repeats || 1), 0),
|
||||
load_avg_1m: Math.max(...list.map((r) => r.conditions.load_avg_1m ?? 0)),
|
||||
...(note ? { note } : {}),
|
||||
// The frame rate the display held this game to (a present mode VSync off doesn't lift): its average is a floor.
|
||||
...(capped_fps ? { capped_fps } : {}),
|
||||
// A split of 0 means the backend gave no timing (Metal has no GPU timer here): unknown, not free.
|
||||
medians: { ...roundAll(fig, FIELDS), cpu_p50_ms: fig.cpu_p50_ms > 0 ? round("cpu_p50_ms", fig.cpu_p50_ms) : null, gpu_p50_ms: fig.gpu_p50_ms > 0 ? round("gpu_p50_ms", fig.gpu_p50_ms) : null },
|
||||
scenes,
|
||||
});
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
||||
export function summary({ ours = [], players = [], generated = new Date() } = {}) {
|
||||
return { format: FORMAT, version: 1, generated: generated.toISOString().replace(/\.\d+Z$/, "Z"), min_installs: MIN_INSTALLS, groups: [...ours, ...players] };
|
||||
}
|
||||
|
||||
// --- The command line ----------------------------------------------------------------------
|
||||
|
||||
async function main(argv) {
|
||||
const arg = (name) => {
|
||||
const i = argv.indexOf(name);
|
||||
return i >= 0 ? argv[i + 1] : null;
|
||||
};
|
||||
const site = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const out = arg("-o") || resolve(site, "public/benchmarks.json");
|
||||
let ours = [];
|
||||
if (arg("--ours")) {
|
||||
// [{ "machine": "Mac mini", "reports": ["path/to/report.json", ...], "version": "v…", "note": "..." }], paths
|
||||
// relative to the list; "version" names the release when the report only has the crate version.
|
||||
const listPath = resolve(arg("--ours"));
|
||||
const list = JSON.parse(await readFile(listPath, "utf8"));
|
||||
const load = async (path) => JSON.parse(await readFile(resolve(dirname(listPath), path), "utf8"));
|
||||
const runs = [];
|
||||
for (const entry of list) runs.push({ ...entry, reports: await Promise.all((entry.reports || [entry.report]).map(load)), report: undefined });
|
||||
ours = ourRows(runs);
|
||||
}
|
||||
let players = [];
|
||||
if (arg("--telemetry")) {
|
||||
const text = await readFile(resolve(arg("--telemetry")), "utf8");
|
||||
players = aggregatePlayers(text.split("\n").filter((l) => l.trim()).map((l) => JSON.parse(l)));
|
||||
}
|
||||
const result = summary({ ours, players });
|
||||
await writeFile(out, JSON.stringify(result, null, 1) + "\n");
|
||||
console.log(`${out}: ${ours.length} rows measured by us, ${players.length} player groups`);
|
||||
}
|
||||
|
||||
if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) await main(process.argv.slice(2));
|
||||
@@ -0,0 +1,67 @@
|
||||
// node --test (npm test in website/). The fixtures are shared with the telemetry server's summary test.
|
||||
import { test } from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { aggregatePlayers, median, ourRows, rejection, round, summary } from "./benchmarks.mjs";
|
||||
|
||||
const fixture = (name) => new URL(`./fixtures/benchmarks/${name}`, import.meta.url);
|
||||
const items = readFileSync(fixture("items.jsonl"), "utf8").split("\n").filter(Boolean).map((l) => JSON.parse(l));
|
||||
const expected = JSON.parse(readFileSync(fixture("expected.json"), "utf8"));
|
||||
|
||||
test("players' items give the expected groups", () => {
|
||||
const s = summary({ players: aggregatePlayers(items) });
|
||||
assert.equal(s.format, "horizon-benchmark-summary");
|
||||
assert.equal(s.min_installs, expected.min_installs);
|
||||
assert.deepEqual(s.groups, expected.groups);
|
||||
});
|
||||
|
||||
test("nothing that identifies an install is published", () => {
|
||||
const text = JSON.stringify(aggregatePlayers(items, { minInstalls: 1 }));
|
||||
for (const secret of ["a1", "a2", "install_id", "secret-os-version", "secret-driver", "20394", "ram_mb", "2560"]) assert.ok(!text.includes(secret), secret);
|
||||
});
|
||||
|
||||
test("a group needs three installs, not three runs", () => {
|
||||
const one = items.filter((i) => i.install_id === "a1");
|
||||
assert.equal(aggregatePlayers([...one, ...one, ...one]).length, 0);
|
||||
assert.equal(aggregatePlayers(items, { minInstalls: 2 }).length, 2);
|
||||
});
|
||||
|
||||
test("only comparable runs count", () => {
|
||||
const reasons = items.map((i) => rejection(i.data));
|
||||
assert.deepEqual(reasons.filter(Boolean), ["VSync on or unknown", "offscreen", "frame rate capped", "not every scene", "not the standard flight", "not a version 1 benchmark report"]);
|
||||
});
|
||||
|
||||
test("medians and rounding", () => {
|
||||
assert.equal(median([3, 1, 2]), 2);
|
||||
assert.equal(median([4, 1, 2, 3]), 2.5);
|
||||
assert.equal(median([null, NaN]), null);
|
||||
assert.equal(round("p95_ms", 3.46), 3.5);
|
||||
assert.equal(round("world_ms", 4512.4), 4512);
|
||||
assert.equal(round("avg_fps", 99.5), 100);
|
||||
});
|
||||
|
||||
test("our runs keep the machine and how it was measured", () => {
|
||||
const [row] = ourRows([{ machine: "Desktop", report: items[0].data }]);
|
||||
assert.equal(row.source, "us");
|
||||
assert.equal(row.machine, "Desktop");
|
||||
assert.equal(row.game, "horizon");
|
||||
assert.equal(row.medians.avg_fps, 415);
|
||||
assert.equal(row.scenes.ocean.avg_fps, 420);
|
||||
assert.throws(() => ourRows([{ machine: "x", report: items[4].data }]), /VSync/);
|
||||
// Several one-game reports: medians over them.
|
||||
const [both] = ourRows([{ machine: "Desktop", reports: [items[0].data, items[1].data] }]);
|
||||
assert.equal(both.medians.avg_fps, 515);
|
||||
assert.equal(both.repeats, 2);
|
||||
assert.throws(() => ourRows([{ machine: "x", reports: [items[0].data, items[9].data] }]), /different/);
|
||||
});
|
||||
|
||||
test("a display cap on our run is kept, and the comparison says at least", async () => {
|
||||
const [row] = ourRows([{ machine: "Mac", report: items[0].data, capped_fps: 144, version: "v1" }]);
|
||||
assert.equal(row.capped_fps, 144);
|
||||
assert.equal(row.version, "v1");
|
||||
const { compareRows, METRICS } = await import("../src/bench.js");
|
||||
const fps = METRICS[0];
|
||||
const h = { capped_fps: 144, medians: { avg_fps: 144 } };
|
||||
assert.equal(compareRows(fps, h, { medians: { avg_fps: 120 } }).text, "at least 1.2x faster");
|
||||
assert.equal(compareRows(fps, h, { medians: { avg_fps: 200 } }).wins, "none");
|
||||
});
|
||||
@@ -0,0 +1,134 @@
|
||||
// The Benchmarks page's tables, from the summary (public/benchmarks.json, or the telemetry server's
|
||||
// GET /v1/benchmarks/summary in the same shape). Shared by build.mjs (baked) and benchmarks-page.js (live).
|
||||
import { escape } from "./markdown.js";
|
||||
|
||||
export const METRICS = [
|
||||
{ key: "avg_fps", label: "Average FPS", kind: "fps", better: "high" },
|
||||
{ key: "low_1pct_fps", label: "1% low FPS", kind: "fps", better: "high", hint: "the slowest 1% of frames, as FPS" },
|
||||
{ key: "p95_ms", label: "Frame time, 95th percentile", kind: "ms", better: "low" },
|
||||
{ key: "world_ms", label: "Start to in-world", kind: "ms", better: "low", hint: "process start to the spawn area loaded and drawn" },
|
||||
{ key: "chunk_load_ms", label: "Chunk load after a teleport", kind: "ms", better: "low", hint: "the four scenes' average" },
|
||||
{ key: "rss_steady_mb", label: "Memory while playing", kind: "mb", better: "low" },
|
||||
{ key: "rss_peak_mb", label: "Memory, peak", kind: "mb", better: "low" },
|
||||
];
|
||||
|
||||
export function format(kind, x) {
|
||||
if (x == null || !Number.isFinite(x)) return "–";
|
||||
if (kind === "fps") return x >= 100 ? Math.round(x).toLocaleString("en") : x.toFixed(x >= 10 ? 0 : 1);
|
||||
if (kind === "ms") return x >= 1000 ? `${(x / 1000).toFixed(x >= 10000 ? 0 : 1)} s` : `${x < 10 ? x.toFixed(1) : Math.round(x)} ms`;
|
||||
if (kind === "mb") return x >= 1000 ? `${(x / 1024).toFixed(1)} GB` : `${Math.round(x)} MB`;
|
||||
return String(x);
|
||||
}
|
||||
|
||||
// "2.4x faster", "1.3x slower", "2.0x less" (memory), from Horizon's side.
|
||||
export function compare(metric, horizon, java) {
|
||||
if (horizon == null || java == null || !horizon || !java) return null;
|
||||
const ratio = metric.better === "high" ? horizon / java : java / horizon;
|
||||
if (Math.abs(ratio - 1) < 0.05) return { text: "about the same", wins: "tie" };
|
||||
const word = metric.kind === "mb" ? (ratio > 1 ? "less" : "more") : ratio > 1 ? "faster" : "slower";
|
||||
const r = ratio > 1 ? ratio : 1 / ratio;
|
||||
return { text: `${r.toFixed(r >= 10 ? 0 : 1)}x ${word}`, wins: ratio > 1 ? "horizon" : "java" };
|
||||
}
|
||||
|
||||
// The game's average frame rate sat at a display cap (`capped_fps`): the real one is at least that.
|
||||
export const capped = (row) => Boolean(row?.capped_fps && row.medians?.avg_fps >= row.capped_fps * 0.97);
|
||||
|
||||
// compare() between two rows, saying "at least" where Horizon's average sat at a cap.
|
||||
export function compareRows(metric, h, j) {
|
||||
const c = compare(metric, h?.medians?.[metric.key], j?.medians?.[metric.key]);
|
||||
if (!c || metric.key !== "avg_fps" || !capped(h)) return c;
|
||||
return c.wins === "horizon" ? { ...c, text: `at least ${c.text}` } : { text: "capped, can't tell", wins: "none" };
|
||||
}
|
||||
|
||||
export const cell = (metric, row) => {
|
||||
const v = format(metric.kind, row?.medians?.[metric.key]);
|
||||
return metric.key === "avg_fps" && capped(row) ? `${v} <span class="capped" title="Held to the display's ${row.capped_fps} Hz: the real figure is at least this">(cap)</span>` : v;
|
||||
};
|
||||
|
||||
const machines = (groups) => {
|
||||
const by = new Map();
|
||||
for (const g of groups.filter((g) => g.source === "us")) {
|
||||
if (!by.has(g.machine)) by.set(g.machine, []);
|
||||
by.get(g.machine).push(g);
|
||||
}
|
||||
return by;
|
||||
};
|
||||
|
||||
const pick = (rows, game, rd) => rows.find((r) => r.game === game && r.render_distance === rd);
|
||||
|
||||
// One machine we measured: Horizon and Java side by side at each render distance.
|
||||
export function machineHtml(name, rows) {
|
||||
const first = rows[0];
|
||||
const distances = [...new Set(rows.map((r) => r.render_distance))].sort((a, b) => a - b);
|
||||
const horizon = rows.find((r) => r.game === "horizon");
|
||||
const java = rows.find((r) => r.game === "vanilla");
|
||||
const head = distances.map((rd) => `<th scope="colgroup" colspan="3">Render distance ${rd}</th>`).join("");
|
||||
const sub = distances.map(() => `<th scope="col">Horizon</th><th scope="col">Java</th><th scope="col"><span class="sr-only">Horizon against Java</span></th>`).join("");
|
||||
const body = METRICS.map((m) => {
|
||||
const cells = distances
|
||||
.map((rd) => {
|
||||
const h = pick(rows, "horizon", rd);
|
||||
const j = pick(rows, "vanilla", rd);
|
||||
const c = compareRows(m, h, j);
|
||||
return `<td class="num${c?.wins === "horizon" ? " wins" : ""}">${cell(m, h)}</td><td class="num${c?.wins === "java" ? " wins" : ""}">${cell(m, j)}</td><td class="vs vs-${c?.wins || "none"}">${c ? escape(c.text) : ""}</td>`;
|
||||
})
|
||||
.join("");
|
||||
return `<tr><th scope="row">${escape(m.label)}${m.hint ? `<span class="metric-hint">${escape(m.hint)}</span>` : ""}</th>${cells}</tr>`;
|
||||
}).join("");
|
||||
const javaWins = METRICS.flatMap((m) =>
|
||||
distances.filter((rd) => compareRows(m, pick(rows, "horizon", rd), pick(rows, "vanilla", rd))?.wins === "java").map((rd) => `${m.label.toLowerCase()} at ${rd}`),
|
||||
);
|
||||
// Per scene too: an average that Horizon wins can hide a scene where Java is faster.
|
||||
const sceneName = { village: "the village", forest: "the forest", ocean: "the ocean", mountain: "the mountain" };
|
||||
for (const rd of distances) {
|
||||
const h = pick(rows, "horizon", rd);
|
||||
const j = pick(rows, "vanilla", rd);
|
||||
for (const [scene, js] of Object.entries(j?.scenes || {})) {
|
||||
const hs = h?.scenes?.[scene];
|
||||
if (!hs?.avg_fps || !js?.avg_fps || (h.capped_fps && hs.avg_fps >= h.capped_fps * 0.97)) continue;
|
||||
if (js.avg_fps > hs.avg_fps * 1.05) javaWins.push(`average FPS over ${sceneName[scene] || scene} at ${rd} (${format("fps", js.avg_fps)} against ${format("fps", hs.avg_fps)})`);
|
||||
}
|
||||
}
|
||||
const facts = [
|
||||
["CPU", first.cpu],
|
||||
["GPU", first.gpu],
|
||||
["Horizon", horizon ? `${horizon.version} · ${horizon.backend || "?"}` : "not measured"],
|
||||
["Java", java ? `${java.version} (vanilla) · ${java.backend || "?"}` : "not measured"],
|
||||
["Measured", `${first.measured}${first.repeats ? ` · ${first.repeats} runs of each` : ""}${first.window ? ` · ${first.window.join("x")} window` : ""}`],
|
||||
];
|
||||
return `<article class="machine" id="machine-${escape(name.toLowerCase().replace(/[^a-z0-9]+/g, "-"))}">
|
||||
<header class="machine-head">
|
||||
<p class="eyebrow"><span class="badge badge-us">Measured by us</span></p>
|
||||
<h3 class="machine-name">${escape(name)}</h3>
|
||||
<dl class="machine-facts">${facts.map(([k, v]) => `<div><dt>${k}</dt><dd>${escape(String(v))}</dd></div>`).join("")}</dl>
|
||||
${rows.find((r) => r.note) ? `<p class="machine-note">${escape(rows.find((r) => r.note).note)}</p>` : ""}
|
||||
</header>
|
||||
<div class="table-wrap"><table class="bench-table">
|
||||
<thead><tr><td></td>${head}</tr><tr><td></td>${sub}</tr></thead>
|
||||
<tbody>${body}</tbody>
|
||||
</table></div>
|
||||
${javaWins.length ? `<p class="java-wins"><strong>Where Java is ahead:</strong> ${escape(javaWins.join("; "))}.</p>` : `<p class="java-wins">Horizon is ahead on every figure here.</p>`}
|
||||
</article>`;
|
||||
}
|
||||
|
||||
export function machinesHtml(summary) {
|
||||
const by = machines(summary?.groups || []);
|
||||
if (!by.size) return `<p class="lede">No measurements are published yet.</p>`;
|
||||
return [...by].map(([name, rows]) => machineHtml(name, rows)).join("\n");
|
||||
}
|
||||
|
||||
// Players' groups: one row each, at least `min_installs` installs.
|
||||
export function playersHtml(summary) {
|
||||
const groups = (summary?.groups || []).filter((g) => g.source === "players");
|
||||
if (!groups.length)
|
||||
return `<p class="empty">No player results yet. A GPU and CPU pair shows here once at least ${summary?.min_installs || 3} different installs have shared a benchmark with it.</p>`;
|
||||
const rows = groups
|
||||
.map(
|
||||
(g) => `<tr><th scope="row">${escape(g.gpu)}<span class="metric-hint">${escape(g.cpu)}</span></th><td class="num">${g.render_distance}</td><td>${g.game === "vanilla" ? "Java" : "Horizon"}</td>${["avg_fps", "low_1pct_fps", "p95_ms", "world_ms", "rss_steady_mb"].map((k) => `<td class="num">${format(METRICS.find((m) => m.key === k).kind, g.medians?.[k])}</td>`).join("")}<td><span class="badge badge-players">From ${g.installs} players</span></td></tr>`,
|
||||
)
|
||||
.join("");
|
||||
return `<div class="table-wrap"><table class="bench-table players-table">
|
||||
<thead><tr><th scope="col">GPU and CPU</th><th scope="col">Render distance</th><th scope="col">Game</th><th scope="col">Average FPS</th><th scope="col">1% low</th><th scope="col">p95</th><th scope="col">To in-world</th><th scope="col">Memory</th><th scope="col">Source</th></tr></thead>
|
||||
<tbody>${rows}</tbody>
|
||||
</table></div>`;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
// The Benchmarks page: players' results from the telemetry server (the baked summary when it doesn't answer)
|
||||
// and the hardware picker (a measurement when there is one, else an estimate from src/estimate.js).
|
||||
import { escape } from "./markdown.js";
|
||||
import { METRICS, cell, compareRows, format, playersHtml } from "./bench.js";
|
||||
import { estimate, measured } from "./estimate.js";
|
||||
import { findCpu, findGpu } from "./hardware.js";
|
||||
import { setUpMenu, setUpTheme } from "./chrome.js";
|
||||
|
||||
const TELEMETRY = "https://telemetry.playhorizon.dev";
|
||||
const baked = JSON.parse(document.getElementById("bench-data").textContent);
|
||||
let groups = baked.groups || [];
|
||||
|
||||
async function live() {
|
||||
try {
|
||||
const res = await fetch(`${TELEMETRY}/v1/benchmarks/summary`, { signal: AbortSignal.timeout(3000) });
|
||||
if (!res.ok) throw new Error(String(res.status));
|
||||
const summary = await res.json();
|
||||
if (summary.format !== "horizon-benchmark-summary" || summary.version !== 1 || !Array.isArray(summary.groups)) throw new Error("format");
|
||||
// Our own rows stay the baked ones; players' come from the server.
|
||||
const players = summary.groups.filter((g) => g.source === "players" && g.installs >= (summary.min_installs || 3));
|
||||
groups = [...groups.filter((g) => g.source === "us"), ...players];
|
||||
document.getElementById("players-table").innerHTML = playersHtml({ ...summary, groups: players });
|
||||
document.querySelector("[data-players-source]").textContent = `Live from the telemetry server, aggregated ${summary.generated.slice(0, 16).replace("T", " ")} UTC.`;
|
||||
render();
|
||||
} catch {
|
||||
// The baked results stay; the line under the heading already says when they were made.
|
||||
}
|
||||
}
|
||||
|
||||
const picker = document.getElementById("picker");
|
||||
const out = document.getElementById("pick-result");
|
||||
|
||||
const range = (kind, e) => {
|
||||
if (!e) return "–";
|
||||
if (e.atLeast) return `at least ${format(kind, e.low)}`;
|
||||
return e.low != null ? `${format(kind, e.low)} to ${format(kind, e.high)}` : format(kind, e.value);
|
||||
};
|
||||
|
||||
function sourceBadge(row) {
|
||||
return row.source === "us" ? `<span class="badge badge-us">Measured by us · ${escape(row.machine)}</span>` : `<span class="badge badge-players">From ${row.installs} players</span>`;
|
||||
}
|
||||
|
||||
function measuredTable(h, j) {
|
||||
return `<table class="bench-table pick-table"><thead><tr><td></td><th scope="col">Horizon</th><th scope="col">Java</th><th scope="col"><span class="sr-only">Horizon against Java</span></th></tr></thead><tbody>${METRICS.map((m) => {
|
||||
const c = compareRows(m, h, j);
|
||||
return `<tr><th scope="row">${escape(m.label)}</th><td class="num${c?.wins === "horizon" ? " wins" : ""}">${cell(m, h)}</td><td class="num${c?.wins === "java" ? " wins" : ""}">${cell(m, j)}</td><td class="vs vs-${c?.wins || "none"}">${c ? escape(c.text) : ""}</td></tr>`;
|
||||
}).join("")}</tbody></table>`;
|
||||
}
|
||||
|
||||
function estimateTable(h, j) {
|
||||
return `<table class="bench-table pick-table"><thead><tr><td></td><th scope="col">Horizon (estimate)</th><th scope="col">Java (estimate)</th></tr></thead><tbody>${METRICS.map(
|
||||
(m) => `<tr><th scope="row">${escape(m.label)}</th><td class="num">${range(m.kind, h?.[m.key])}</td><td class="num">${range(m.kind, j?.[m.key])}</td></tr>`,
|
||||
).join("")}</tbody></table>`;
|
||||
}
|
||||
|
||||
function render() {
|
||||
const gpu = findGpu(picker.gpu.value);
|
||||
const cpu = findCpu(picker.cpu.value);
|
||||
const rd = Number(picker.rd.value);
|
||||
if (!gpu || !cpu) return;
|
||||
const mh = measured(groups, gpu, cpu, rd, "horizon");
|
||||
const mj = measured(groups, gpu, cpu, rd, "vanilla");
|
||||
if (mh.length || mj.length) {
|
||||
const h = mh[0];
|
||||
const j = mj[0];
|
||||
out.innerHTML = `<p class="pick-head">${[h, j].filter(Boolean).map(sourceBadge).join(" ")}</p>${measuredTable(h, j)}${
|
||||
h && h.source === "us" && h.measured ? `<p class="meta">Measured ${escape(h.measured)} with Horizon ${escape(h.version)}. The full table is under <a href="#measured">Measured by us</a>.</p>` : ""
|
||||
}`;
|
||||
return;
|
||||
}
|
||||
const h = estimate(groups, gpu, cpu, rd, "horizon");
|
||||
const j = estimate(groups, gpu, cpu, rd, "vanilla");
|
||||
if (!h && !j) {
|
||||
out.innerHTML = `<p class="empty">Nothing measured at render distance ${rd} to estimate from yet.</p>`;
|
||||
return;
|
||||
}
|
||||
const base = (h || j).base;
|
||||
const f = (h || j).factors;
|
||||
const times = (x) => `${x >= 1 ? x.toFixed(x >= 10 ? 0 : 1) : x.toFixed(2)}x`;
|
||||
out.innerHTML = `<p class="pick-head"><span class="badge badge-estimate">Estimate</span> From ${escape(base.source === "us" ? base.machine : `${base.gpu} with ${base.cpu}`)} (${escape(base.gpu)}, ${escape(base.cpu)}): GPU factor ${times(f.gpu)}, CPU factor ${times(f.cpu)}. <a href="#method">How</a></p>${estimateTable(h, j)}<p class="meta">Ranges, not measurements: the real figure depends on drivers, the graphics API and cooling too. Memory is the measured machine's.</p>`;
|
||||
}
|
||||
|
||||
setUpTheme();
|
||||
setUpMenu();
|
||||
picker.addEventListener("change", render);
|
||||
render();
|
||||
live();
|
||||
@@ -0,0 +1,99 @@
|
||||
<!doctype html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Benchmarks: Horizon against Java Edition · Horizon</title>
|
||||
<meta name="description" content="Horizon and vanilla Minecraft: Java Edition 26.3 measured on the same machines, world and camera path: frame rate, 1% lows, frame times, load times and memory. Pick a GPU and a CPU to see what to expect.">
|
||||
<meta name="theme-color" content="#ece7f7" media="(prefers-color-scheme: light)">
|
||||
<meta name="theme-color" content="#0f0d17" media="(prefers-color-scheme: dark)">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<link rel="canonical" href="https://playhorizon.dev/benchmarks">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="Horizon">
|
||||
<meta property="og:title" content="Benchmarks · Horizon">
|
||||
<meta property="og:description" content="Horizon against vanilla Java Edition 26.3, measured on the same machines.">
|
||||
<meta property="og:url" content="https://playhorizon.dev/benchmarks">
|
||||
<meta property="og:image" content="https://playhorizon.dev/og.png">
|
||||
<style>{{STYLE}}</style>
|
||||
<script>document.documentElement.classList.replace("no-js", "js"); try { const t = localStorage.getItem("theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t } catch {}</script>
|
||||
<script type="module" src="{{BENCH_JS}}"></script>
|
||||
</head>
|
||||
<body class="subpage">
|
||||
<a class="skip" href="#main">Skip to the content</a>
|
||||
{{SITE_NAV}}
|
||||
<main id="main" class="section page-main">
|
||||
<div class="container">
|
||||
<p class="kicker"><span>Benchmarks</span>Horizon against Java Edition 26.3</p>
|
||||
<h1 class="display page-title">Same machine, same world, same flight.</h1>
|
||||
<p class="lede">We run Horizon and vanilla Minecraft: Java Edition 26.3 one after the other on the same computer: a fresh world from the same seed, the same settings, and the same four flights over a village, a forest, the ocean and a mountain. Every figure comes from the same code for both games. Where Java does better, the tables say so.</p>
|
||||
|
||||
<section class="bench-section" id="measured" aria-labelledby="measured-title">
|
||||
<h2 class="title" id="measured-title">Measured by us</h2>
|
||||
<p class="lede">The project's own machines, at render distance 12 (vanilla's default) and 32. VSync off, no frame cap, a 1280x720 window, simulation distance 12, everything else at vanilla's defaults. Each figure is the median over the runs; the frame figures are averaged over the four flights.</p>
|
||||
<div class="machines">
|
||||
{{MACHINES}}
|
||||
</div>
|
||||
<div class="older-runs prose">
|
||||
<p><strong>Not yet measured against Java: the desktop (RTX 4080, Core i7-13700KF).</strong> It is in daily use; the comparison runs on it once it is free. The last figures from it are Horizon alone, from an older build (2026-10-13, offscreen, <code>tools/graphics_bench.py</code>): over the village, 2,409 FPS at render distance 8, 1,041 at 16 and 48 at 32, where that build still stuttered while loading. They are not comparable with the tables above; the picker estimates the RTX 4080 from the measured machines instead.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="bench-section" id="your-hardware" aria-labelledby="pick-title">
|
||||
<h2 class="title" id="pick-title">Your hardware</h2>
|
||||
<p class="lede">Pick a graphics card and a processor. If we or at least three players have measured that pair, you see what was measured; otherwise an estimate from the nearest measured machine, as a range.</p>
|
||||
<form class="picker" id="picker" aria-describedby="pick-title">
|
||||
<label><span>Graphics card</span><select name="gpu" id="pick-gpu">{{GPU_OPTIONS}}</select></label>
|
||||
<label><span>Processor</span><select name="cpu" id="pick-cpu">{{CPU_OPTIONS}}</select></label>
|
||||
<fieldset class="picker-rd"><legend>Render distance</legend>
|
||||
<label><input type="radio" name="rd" value="12" checked> 12</label>
|
||||
<label><input type="radio" name="rd" value="32"> 32</label>
|
||||
</fieldset>
|
||||
</form>
|
||||
<div class="pick-result" id="pick-result" aria-live="polite"><p class="empty">The picker needs JavaScript; the tables above and the method below work without it.</p></div>
|
||||
</section>
|
||||
|
||||
<section class="bench-section" id="players" aria-labelledby="players-title">
|
||||
<h2 class="title" id="players-title">From players</h2>
|
||||
<p class="lede">Players who allow benchmark uploads in the launcher's data collection settings share the report of <code>horizon-client --benchmark standard</code>. Results are grouped by graphics card, processor and render distance, and a group shows only once <strong>at least 3 different installs</strong> are in it, so no one can be picked out. Only medians are published: no install ID, date, driver, memory size or screen.</p>
|
||||
<p class="meta" data-players-source>{{PLAYERS_SOURCE}}</p>
|
||||
<div id="players-table">
|
||||
{{PLAYERS}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="bench-section prose-section" id="method" aria-labelledby="method-title">
|
||||
<h2 class="title" id="method-title">How the estimates work</h2>
|
||||
<div class="prose">
|
||||
<p>An estimate starts from the measured machine closest to the one you picked, then scales its figures with a small table of specifications we wrote ourselves (no benchmark database):</p>
|
||||
<ul>
|
||||
<li><strong>GPU factor</strong>: the geometric mean of the two graphics cards' ratio of FP32 shader throughput (TFLOPS) and of memory bandwidth (GB/s), as their makers state them.</li>
|
||||
<li><strong>CPU factor</strong>: the ratio of the two processors' single-thread scores: top boost clock times a rough factor per chip generation (Zen 4 = 1).</li>
|
||||
<li><strong>Frame rate</strong>: when the measured run split each frame into CPU and GPU time, the slower side is scaled by its factor; otherwise by the geometric mean of both. Whatever the split, the real figure lies between the measured one scaled by the smaller and by the larger factor; we widen that by 15% for the roughness of the table, and show it as the range.</li>
|
||||
<li><strong>Load times</strong> are CPU work (generating, lighting and meshing chunks), scaled by the CPU factor. <strong>Memory</strong> is not scaled: it follows the world and the settings, not the speed.</li>
|
||||
</ul>
|
||||
<p>Estimates ignore drivers, the graphics API, thermal limits and the operating system, which can matter as much as the chip. Treat them as a rough idea, and run <code>horizon-client --benchmark standard</code> on your own machine for the real figure.</p>
|
||||
</div>
|
||||
<details class="spec-table">
|
||||
<summary>The specification table</summary>
|
||||
<div class="table-wrap">{{SPEC_TABLE}}</div>
|
||||
</details>
|
||||
</section>
|
||||
|
||||
<section class="bench-section prose-section" id="how" aria-labelledby="how-title">
|
||||
<h2 class="title" id="how-title">How we measure</h2>
|
||||
<div class="prose">
|
||||
<p><code>tools/perf_bench.py</code> starts each game from a fresh world (seed 1234, creative), waits until every chunk around the spawn is loaded and drawn, then for each scene teleports, waits for the chunks, holds for 2 seconds and flies a straight 192-block path in 12 seconds. Every frame is recorded. Vanilla runs as players get it (your own client, the official launcher's Java options, Java 25), driven by a small development-only mod that only calls the game's own code; nothing of Minecraft is shipped. The full method and its caveats are in <a href="https://github.com/ludovic111/horizon/blob/main/docs/benchmark.md">docs/benchmark.md</a>, and every raw report is in the repository.</p>
|
||||
<p>Measure your own computer with <code>horizon-client --benchmark standard --render-distance 12</code>: it writes a report to the <code>benchmarks</code> folder of the game folder.</p>
|
||||
</div>
|
||||
</section>
|
||||
<p class="disclaimer">Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
|
||||
</div>
|
||||
</main>
|
||||
{{SITE_FOOTER}}
|
||||
<script type="application/json" id="bench-data">{{BENCH_DATA}}</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,90 @@
|
||||
// What every page with the site's top bar shares: the light and dark switch and the phone menu.
|
||||
// Used by main.js (the home page) and page.js (Releases, Benchmarks).
|
||||
const reducedMotion = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||
|
||||
// The page follows the system; the toggle picks the other appearance and remembers it.
|
||||
export function setUpTheme() {
|
||||
const root = document.documentElement;
|
||||
const button = document.querySelector(".theme-toggle");
|
||||
if (!button) return;
|
||||
const label = button.querySelector("[data-theme-label]");
|
||||
const system = matchMedia("(prefers-color-scheme: dark)");
|
||||
const dark = () => (root.dataset.theme ? root.dataset.theme === "dark" : system.matches);
|
||||
const show = () => (label.textContent = dark() ? "Light" : "Dark");
|
||||
button.addEventListener("click", () => {
|
||||
root.dataset.theme = dark() ? "light" : "dark";
|
||||
try {
|
||||
localStorage.setItem("theme", root.dataset.theme);
|
||||
} catch {}
|
||||
show();
|
||||
});
|
||||
system.addEventListener("change", show);
|
||||
show();
|
||||
}
|
||||
|
||||
// The phone menu: a full-screen sheet; the page behind it is inert while it is open.
|
||||
export function setUpMenu() {
|
||||
const bar = document.querySelector(".nav");
|
||||
const button = document.querySelector(".menu-button");
|
||||
const menu = document.getElementById("menu");
|
||||
const main = document.getElementById("main");
|
||||
if (!bar || !button || !menu) return;
|
||||
const label = button.querySelector(".menu-label");
|
||||
const items = [...menu.querySelectorAll("nav a")];
|
||||
items.forEach((a, i) => a.style.setProperty("transition-delay", `${60 + i * 35}ms`));
|
||||
let closing;
|
||||
const setOpen = (open) => {
|
||||
clearTimeout(closing);
|
||||
button.setAttribute("aria-expanded", String(open));
|
||||
label.textContent = open ? "Close" : "Menu";
|
||||
bar.classList.toggle("is-menu", open);
|
||||
main.inert = open;
|
||||
document.body.style.overflow = open ? "hidden" : "";
|
||||
if (open) {
|
||||
menu.hidden = false;
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => menu.classList.add("is-open")));
|
||||
items[0].focus({ preventScroll: true });
|
||||
} else {
|
||||
menu.classList.remove("is-open");
|
||||
closing = setTimeout(() => (menu.hidden = true), reducedMotion ? 0 : 320);
|
||||
}
|
||||
};
|
||||
button.addEventListener("click", () => setOpen(button.getAttribute("aria-expanded") !== "true"));
|
||||
items.forEach((a) => a.addEventListener("click", () => setOpen(false)));
|
||||
addEventListener("keydown", (e) => {
|
||||
if (e.key === "Escape" && button.getAttribute("aria-expanded") === "true") {
|
||||
setOpen(false);
|
||||
button.focus();
|
||||
}
|
||||
});
|
||||
matchMedia("(min-width: 1120px)").addEventListener("change", (e) => e.matches && setOpen(false));
|
||||
}
|
||||
|
||||
// GitHub answers, cached for ten minutes in the tab.
|
||||
export async function cached(key, load) {
|
||||
try {
|
||||
const hit = JSON.parse(sessionStorage.getItem(key) || "null");
|
||||
if (hit && Date.now() - hit.at < 10 * 60 * 1000) return hit.value;
|
||||
} catch {}
|
||||
const value = await load();
|
||||
try {
|
||||
sessionStorage.setItem(key, JSON.stringify({ at: Date.now(), value }));
|
||||
} catch {}
|
||||
return value;
|
||||
}
|
||||
|
||||
export async function get(url, as = "json") {
|
||||
const res = await fetch(url, { headers: as === "json" ? { Accept: "application/vnd.github+json" } : {} });
|
||||
if (!res.ok) throw new Error(`${res.status}`);
|
||||
return as === "json" ? res.json() : res.text();
|
||||
}
|
||||
|
||||
export const slim = (r) => ({
|
||||
tag_name: r.tag_name,
|
||||
name: r.name,
|
||||
published_at: r.published_at,
|
||||
html_url: r.html_url,
|
||||
prerelease: r.prerelease,
|
||||
body: r.body || "",
|
||||
assets: (r.assets || []).map((a) => ({ name: a.name, browser_download_url: a.browser_download_url, size: a.size })),
|
||||
});
|
||||
@@ -0,0 +1,77 @@
|
||||
// Estimates for hardware nobody has measured yet, from the nearest measured machine and the spec table
|
||||
// (src/hardware.js). The method, which the Benchmarks page explains:
|
||||
//
|
||||
// - GPU factor: the geometric mean of the two GPUs' FP32 throughput ratio and memory bandwidth ratio.
|
||||
// - CPU factor: the ratio of the two CPUs' single-thread scores (boost clock x generation factor).
|
||||
// - Frames: when the measured run split each frame into CPU and GPU time, the slower of the two is scaled by its
|
||||
// own factor; otherwise the frame rate is scaled by the geometric mean of both factors. Whatever the split, the
|
||||
// true figure lies between the measured one scaled by the smaller and by the larger factor, widened by 15% for
|
||||
// the roughness of the table: that is the range shown.
|
||||
// - World and chunk load times are CPU work (generation, lighting, meshing): scaled by the CPU factor.
|
||||
// - Memory is not scaled: it depends on the world and settings, not on speed.
|
||||
import { findCpu, findGpu, singleThread } from "./hardware.js";
|
||||
|
||||
const MARGIN = 0.15;
|
||||
|
||||
export function factors(fromGpu, fromCpu, toGpu, toCpu) {
|
||||
const gpu = Math.sqrt((toGpu.tflops / fromGpu.tflops) * (toGpu.gbps / fromGpu.gbps));
|
||||
const cpu = singleThread(toCpu) / singleThread(fromCpu);
|
||||
return { gpu, cpu };
|
||||
}
|
||||
|
||||
const distance = (f) => Math.abs(Math.log(f.gpu)) + Math.abs(Math.log(f.cpu));
|
||||
|
||||
// The rows (benchmarks.json groups) usable as a base: a known GPU and CPU.
|
||||
function known(rows) {
|
||||
return rows.map((row) => ({ row, gpu: findGpu(row.gpu), cpu: findCpu(row.cpu) })).filter((r) => r.gpu && r.cpu);
|
||||
}
|
||||
|
||||
// The measured row for exactly this GPU and CPU, players' first when there are some (more installs), or null.
|
||||
export function measured(rows, gpu, cpu, rd, game) {
|
||||
const hits = known(rows).filter((r) => r.gpu === gpu && r.cpu === cpu && r.row.render_distance === rd && r.row.game === game);
|
||||
hits.sort((a, b) => (b.row.installs || 0) - (a.row.installs || 0));
|
||||
return hits.map((r) => r.row);
|
||||
}
|
||||
|
||||
// The nearest measured machine for a target GPU and CPU, for one game and render distance.
|
||||
export function nearest(rows, gpu, cpu, rd, game) {
|
||||
let best = null;
|
||||
for (const r of known(rows)) {
|
||||
if (r.row.render_distance !== rd || r.row.game !== game) continue;
|
||||
const f = factors(r.gpu, r.cpu, gpu, cpu);
|
||||
const d = distance(f);
|
||||
if (!best || d < best.d) best = { ...r, f, d };
|
||||
}
|
||||
return best;
|
||||
}
|
||||
|
||||
export function estimate(rows, gpu, cpu, rd, game) {
|
||||
const base = nearest(rows, gpu, cpu, rd, game);
|
||||
if (!base) return null;
|
||||
const m = base.row.medians;
|
||||
const { gpu: g, cpu: c } = base.f;
|
||||
const lo = Math.min(g, c) * (1 - MARGIN);
|
||||
const hi = Math.max(g, c) * (1 + MARGIN);
|
||||
let scale = Math.sqrt(g * c);
|
||||
if (m.cpu_p50_ms && m.gpu_p50_ms) {
|
||||
const worst = Math.max(m.cpu_p50_ms, m.gpu_p50_ms);
|
||||
scale = worst / Math.max(m.cpu_p50_ms / c, m.gpu_p50_ms / g);
|
||||
}
|
||||
scale = Math.min(hi, Math.max(lo, scale));
|
||||
const fps = (x) => (x == null ? null : { value: x * scale, low: x * lo, high: x * hi });
|
||||
// A base held to its display's refresh rate gives only a floor for the average.
|
||||
const avg = fps(m.avg_fps);
|
||||
if (avg && base.row.capped_fps && m.avg_fps >= base.row.capped_fps * 0.97) Object.assign(avg, { value: null, high: null, atLeast: true });
|
||||
const time = (x, f) => (x == null ? null : { value: x / f, low: x / (f * (1 + MARGIN)), high: x / (f * (1 - MARGIN)) });
|
||||
return {
|
||||
base: base.row,
|
||||
factors: base.f,
|
||||
avg_fps: avg,
|
||||
low_1pct_fps: fps(m.low_1pct_fps),
|
||||
p95_ms: m.p95_ms == null ? null : { value: m.p95_ms / scale, low: m.p95_ms / hi, high: m.p95_ms / lo },
|
||||
world_ms: time(m.world_ms, c),
|
||||
chunk_load_ms: time(m.chunk_load_ms, c),
|
||||
rss_steady_mb: m.rss_steady_mb == null ? null : { value: m.rss_steady_mb },
|
||||
rss_peak_mb: m.rss_peak_mb == null ? null : { value: m.rss_peak_mb },
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
// node --test website/src/ (npm test in website/)
|
||||
import { test } from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { estimate, factors, measured, nearest } from "./estimate.js";
|
||||
import { CPUS, GPUS, findCpu, findGpu } from "./hardware.js";
|
||||
|
||||
const row = (gpu, cpu, medians, extra = {}) => ({ gpu, cpu, render_distance: 12, game: "horizon", source: "us", medians, ...extra });
|
||||
const mac = row("Apple M4 Pro", "Apple M4 Pro", { avg_fps: 500, low_1pct_fps: 100, p95_ms: 3, world_ms: 4000, chunk_load_ms: 1000, rss_peak_mb: 1500, rss_steady_mb: 1200 });
|
||||
const laptop = row("Mesa Intel HD Graphics 620 (KBL GT2)", "Intel Core i7-7500U CPU @ 2.70GHz", { avg_fps: 100, low_1pct_fps: 20, p95_ms: 15, world_ms: 12000, chunk_load_ms: 5000, rss_peak_mb: 1400, rss_steady_mb: 1100, cpu_p50_ms: 4, gpu_p50_ms: 9 });
|
||||
|
||||
test("every reported name of our machines is in the table", () => {
|
||||
assert.equal(findGpu("Apple M4 Pro").name, "Apple M4 Pro (20-core GPU)");
|
||||
assert.equal(findGpu("Mesa Intel HD Graphics 620 (KBL GT2)").name, "Intel HD Graphics 620");
|
||||
assert.equal(findGpu("NVIDIA GeForce RTX 4080").name, "NVIDIA GeForce RTX 4080");
|
||||
assert.equal(findGpu("NVIDIA GeForce RTX 4080 SUPER"), null);
|
||||
assert.equal(findCpu("13th Gen Intel Core i7-13700KF").name, "Intel Core i7-13700K / KF");
|
||||
assert.equal(findCpu("Intel Core i7-7500U CPU @ 2.70GHz").name, "Intel Core i7-7500U");
|
||||
for (const g of GPUS) assert.equal(findGpu(g.name), g, g.name);
|
||||
for (const c of CPUS) assert.equal(findCpu(c.name), c, c.name);
|
||||
});
|
||||
|
||||
test("an exact match is a measurement, not an estimate", () => {
|
||||
assert.deepEqual(measured([mac, laptop], findGpu("Apple M4 Pro"), findCpu("Apple M4 Pro"), 12, "horizon"), [mac]);
|
||||
assert.deepEqual(measured([mac], findGpu("Apple M4 Pro"), findCpu("Apple M4 Pro"), 32, "horizon"), []);
|
||||
});
|
||||
|
||||
test("the nearest machine is the base, and the range holds the estimate", () => {
|
||||
const gpu = findGpu("Intel Iris Xe Graphics (96 EU)");
|
||||
const cpu = findCpu("Intel Core i5-1135G7");
|
||||
assert.equal(nearest([mac, laptop], gpu, cpu, 12, "horizon").row, laptop);
|
||||
const e = estimate([mac, laptop], gpu, cpu, 12, "horizon");
|
||||
const f = factors(findGpu(laptop.gpu), findCpu(laptop.cpu), gpu, cpu);
|
||||
assert.ok(f.gpu > 1 && f.cpu > 1);
|
||||
for (const key of ["avg_fps", "low_1pct_fps", "p95_ms", "world_ms", "chunk_load_ms"]) {
|
||||
const { value, low, high } = e[key];
|
||||
assert.ok(low <= value && value <= high, key);
|
||||
}
|
||||
// GPU-bound frames (9 ms GPU, 4 ms CPU) follow the GPU factor.
|
||||
assert.ok(Math.abs(e.avg_fps.value - 100 * Math.min(f.gpu, 9 / (4 / f.cpu))) < 1e-9);
|
||||
assert.ok(Math.abs(e.world_ms.value - 12000 / f.cpu) < 1e-9);
|
||||
assert.equal(e.rss_steady_mb.value, 1100);
|
||||
});
|
||||
|
||||
test("no base, no estimate", () => {
|
||||
assert.equal(estimate([mac], findGpu("Apple M4"), findCpu("Apple M4"), 32, "horizon"), null);
|
||||
assert.equal(estimate([mac], findGpu("Apple M4"), findCpu("Apple M4"), 12, "vanilla"), null);
|
||||
});
|
||||
|
||||
test("a base held to its display's refresh rate gives only a floor for the average", () => {
|
||||
const held = { ...mac, capped_fps: 144, medians: { ...mac.medians, avg_fps: 144 } };
|
||||
const e = estimate([held], findGpu("NVIDIA GeForce RTX 4060"), findCpu("AMD Ryzen 5 5600X"), 12, "horizon");
|
||||
assert.equal(e.avg_fps.atLeast, true);
|
||||
assert.equal(e.avg_fps.high, null);
|
||||
assert.ok(e.avg_fps.low > 0);
|
||||
// The lows sit under the cap: still a range.
|
||||
assert.ok(e.low_1pct_fps.high > e.low_1pct_fps.low);
|
||||
});
|
||||
|
||||
test("a release title of issue numbers falls back to its notes", async () => {
|
||||
const { parts } = await import("./releases.js");
|
||||
const r = { tag_name: "v2026.10.22.07", name: "Horizon 2026.10.22.07: #1255, mob pushes, fix, #1222", body: "### Fixed\n- Fix #1222: single player runs in the frame again (#1257, fixes #1222)\n- Mob pushes: one list per mob (#1205)\n" };
|
||||
assert.equal(parts(r).line, "Single player runs in the frame again and 1 more");
|
||||
assert.equal(parts({ ...r, name: "Horizon 2026.10.22.05: Hoppers, mob tick, server tick" }).line, "Hoppers, mob tick, server tick");
|
||||
});
|
||||
@@ -0,0 +1,73 @@
|
||||
// The hardware the Benchmarks page can estimate for, from specifications only (our own table, no benchmark
|
||||
// database): each GPU's FP32 shader throughput in TFLOPS and its memory bandwidth in GB/s as its maker states them,
|
||||
// and each CPU's single-thread score = its top boost clock (GHz) x our rough per-generation factor (instructions per
|
||||
// clock, Zen 4 = 1). The factors are round numbers, so estimates are ranges, and the page says so.
|
||||
// `match` finds a reported name (the GPU and CPU strings in benchmark reports) in this table.
|
||||
|
||||
export const GPUS = [
|
||||
{ name: "NVIDIA GeForce RTX 4090", tflops: 82.6, gbps: 1008, match: /RTX 4090/i },
|
||||
{ name: "NVIDIA GeForce RTX 4080", tflops: 48.7, gbps: 717, match: /RTX 4080(?! SUPER)/i },
|
||||
{ name: "NVIDIA GeForce RTX 4070 Ti", tflops: 40.1, gbps: 504, match: /RTX 4070 Ti/i },
|
||||
{ name: "NVIDIA GeForce RTX 4070", tflops: 29.1, gbps: 504, match: /RTX 4070(?! Ti)/i },
|
||||
{ name: "NVIDIA GeForce RTX 4060 Ti", tflops: 22.1, gbps: 288, match: /RTX 4060 Ti/i },
|
||||
{ name: "NVIDIA GeForce RTX 4060", tflops: 15.1, gbps: 272, match: /RTX 4060(?! Ti)/i },
|
||||
{ name: "NVIDIA GeForce RTX 3080", tflops: 29.8, gbps: 760, match: /RTX 3080(?! Ti)/i },
|
||||
{ name: "NVIDIA GeForce RTX 3070", tflops: 20.3, gbps: 448, match: /RTX 3070(?! Ti)/i },
|
||||
{ name: "NVIDIA GeForce RTX 3060", tflops: 12.7, gbps: 360, match: /RTX 3060(?! Ti)/i },
|
||||
{ name: "NVIDIA GeForce RTX 3050", tflops: 9.1, gbps: 224, match: /RTX 3050/i },
|
||||
{ name: "NVIDIA GeForce RTX 2060", tflops: 6.5, gbps: 336, match: /RTX 2060(?! SUPER)/i },
|
||||
{ name: "NVIDIA GeForce GTX 1660 SUPER", tflops: 5.0, gbps: 336, match: /GTX 1660 SUPER/i },
|
||||
{ name: "NVIDIA GeForce GTX 1060 6GB", tflops: 4.4, gbps: 192, match: /GTX 1060/i },
|
||||
{ name: "NVIDIA GeForce GTX 1050 Ti", tflops: 2.1, gbps: 112, match: /GTX 1050 Ti/i },
|
||||
{ name: "AMD Radeon RX 7900 XTX", tflops: 61.4, gbps: 960, match: /RX 7900 XTX/i },
|
||||
{ name: "AMD Radeon RX 7800 XT", tflops: 37.3, gbps: 624, match: /RX 7800 XT/i },
|
||||
{ name: "AMD Radeon RX 7600", tflops: 21.8, gbps: 288, match: /RX 7600(?! XT)/i },
|
||||
{ name: "AMD Radeon RX 6700 XT", tflops: 13.2, gbps: 384, match: /RX 6700 XT/i },
|
||||
{ name: "AMD Radeon RX 6600", tflops: 8.9, gbps: 224, match: /RX 6600(?! XT)/i },
|
||||
{ name: "AMD Radeon RX 580", tflops: 6.2, gbps: 256, match: /RX 580/i },
|
||||
{ name: "AMD Radeon 780M (integrated)", tflops: 8.6, gbps: 89, match: /780M/i },
|
||||
{ name: "Steam Deck (AMD Van Gogh)", tflops: 1.6, gbps: 88, match: /VanGogh|Van Gogh|Custom GPU 0405/i },
|
||||
{ name: "Intel Arc A770", tflops: 19.7, gbps: 560, match: /Arc.*A770/i },
|
||||
{ name: "Intel Iris Xe Graphics (96 EU)", tflops: 2.1, gbps: 68, match: /Iris\(?R?\)? Xe/i },
|
||||
{ name: "Intel HD Graphics 620", tflops: 0.4, gbps: 34, match: /\bU?HD Graphics 620\b/i },
|
||||
{ name: "Apple M1", tflops: 2.6, gbps: 68, match: /^Apple M1$/i },
|
||||
{ name: "Apple M2", tflops: 3.6, gbps: 100, match: /^Apple M2$/i },
|
||||
{ name: "Apple M3", tflops: 4.1, gbps: 100, match: /^Apple M3$/i },
|
||||
{ name: "Apple M4", tflops: 4.3, gbps: 120, match: /^Apple M4$/i },
|
||||
{ name: "Apple M1 Pro (16-core GPU)", tflops: 5.2, gbps: 200, match: /^Apple M1 Pro$/i },
|
||||
{ name: "Apple M4 Pro (20-core GPU)", tflops: 8.5, gbps: 273, match: /^Apple M4 Pro$/i },
|
||||
{ name: "Apple M4 Max (40-core GPU)", tflops: 17.0, gbps: 546, match: /^Apple M4 Max$/i },
|
||||
];
|
||||
|
||||
// ghz: top single-core boost clock; ipc: our per-generation factor (Zen 4 = 1).
|
||||
export const CPUS = [
|
||||
{ name: "Intel Core i7-7500U", ghz: 3.5, ipc: 0.62, match: /i7-7500U/i },
|
||||
{ name: "Intel Core i5-7200U", ghz: 3.1, ipc: 0.62, match: /i5-7200U/i },
|
||||
{ name: "Intel Core i5-8250U", ghz: 3.4, ipc: 0.62, match: /i5-8250U/i },
|
||||
{ name: "Intel Core i5-9400F", ghz: 4.1, ipc: 0.62, match: /i5-9400/i },
|
||||
{ name: "Intel Core i7-9700K", ghz: 4.9, ipc: 0.62, match: /i7-9700K/i },
|
||||
{ name: "Intel Core i5-10400", ghz: 4.3, ipc: 0.62, match: /i5-10400/i },
|
||||
{ name: "Intel Core i5-1135G7", ghz: 4.2, ipc: 0.78, match: /i5-1135G7/i },
|
||||
{ name: "Intel Core i5-12400", ghz: 4.4, ipc: 0.95, match: /i5-12400/i },
|
||||
{ name: "Intel Core i5-13600K", ghz: 5.1, ipc: 0.95, match: /i5-13600K/i },
|
||||
{ name: "Intel Core i7-13700K / KF", ghz: 5.4, ipc: 0.95, match: /i7-13700K/i },
|
||||
{ name: "Intel Core i9-14900K", ghz: 6.0, ipc: 0.95, match: /i9-14900K/i },
|
||||
{ name: "AMD Ryzen 5 3600", ghz: 4.2, ipc: 0.72, match: /Ryzen 5 3600/i },
|
||||
{ name: "AMD Ryzen 5 5600X", ghz: 4.6, ipc: 0.88, match: /Ryzen 5 5600X?\b/i },
|
||||
{ name: "AMD Ryzen 7 5800X3D", ghz: 4.5, ipc: 0.88, match: /5800X3D/i },
|
||||
{ name: "AMD Ryzen 5 7600X", ghz: 5.3, ipc: 1.0, match: /Ryzen 5 7600/i },
|
||||
{ name: "AMD Ryzen 7 7800X3D", ghz: 5.0, ipc: 1.0, match: /7800X3D/i },
|
||||
{ name: "AMD Ryzen 9 7950X", ghz: 5.7, ipc: 1.0, match: /Ryzen 9 7950X(?!3D)/i },
|
||||
{ name: "AMD Ryzen 7 9700X", ghz: 5.5, ipc: 1.12, match: /Ryzen 7 9700X/i },
|
||||
{ name: "AMD Ryzen 7 7840U / HS", ghz: 5.1, ipc: 1.0, match: /7840(U|HS)/i },
|
||||
{ name: "Steam Deck (AMD Zen 2, 4 cores)", ghz: 3.5, ipc: 0.72, match: /AMD Custom APU 0405|Van ?Gogh/i },
|
||||
{ name: "Apple M1", ghz: 3.2, ipc: 1.25, match: /^Apple M1$/i },
|
||||
{ name: "Apple M2", ghz: 3.5, ipc: 1.28, match: /^Apple M2$/i },
|
||||
{ name: "Apple M3", ghz: 4.05, ipc: 1.38, match: /^Apple M3$/i },
|
||||
{ name: "Apple M4", ghz: 4.4, ipc: 1.5, match: /^Apple M4$/i },
|
||||
{ name: "Apple M4 Pro", ghz: 4.5, ipc: 1.5, match: /^Apple M4 Pro$/i },
|
||||
];
|
||||
|
||||
export const singleThread = (cpu) => cpu.ghz * cpu.ipc;
|
||||
export const findGpu = (name) => GPUS.find((g) => g.name === name || g.match.test(name || "")) || null;
|
||||
export const findCpu = (name) => CPUS.find((c) => c.name === name || c.match.test(name || "")) || null;
|
||||
+14
-10
@@ -43,9 +43,10 @@
|
||||
<a href="#screenshots">In game</a>
|
||||
<a href="#parity">Parity</a>
|
||||
<a href="#launcher">Launcher</a>
|
||||
<a href="#patch-notes">Notes</a>
|
||||
<a href="#recent">New</a>
|
||||
<a href="#community">Community</a>
|
||||
<a href="#contributors" data-contributors{{CONTRIBUTORS_HIDDEN}}>Contributors</a>
|
||||
<a href="/releases">Releases</a>
|
||||
<a href="/benchmarks">Benchmarks</a>
|
||||
<a href="/docs/">Docs</a>
|
||||
</nav>
|
||||
<div class="nav-end">
|
||||
@@ -63,9 +64,11 @@
|
||||
<a href="#screenshots">In game</a>
|
||||
<a href="#parity">Parity</a>
|
||||
<a href="#launcher">Launcher</a>
|
||||
<a href="#patch-notes">Patch notes</a>
|
||||
<a href="#recent">Recently added</a>
|
||||
<a href="#community">Community</a>
|
||||
<a href="#contributors" data-contributors{{CONTRIBUTORS_HIDDEN}}>Contributors</a>
|
||||
<a href="/releases">Releases</a>
|
||||
<a href="/benchmarks">Benchmarks</a>
|
||||
<a href="/docs/">Documentation</a>
|
||||
</nav>
|
||||
<div class="menu-foot">
|
||||
@@ -92,7 +95,7 @@
|
||||
<li class="row reveal"><a href="#parity"><span class="row-index">01</span><span class="row-name">Matches vanilla</span><span class="row-meta">{{PERCENT}}</span></a></li>
|
||||
<li class="row reveal"><a href="#parity"><span class="row-index">02</span><span class="row-name">Differential harnesses</span><span class="row-meta">{{HARNESSES}}</span></a></li>
|
||||
<li class="row reveal"><a href="#screenshots"><span class="row-index">03</span><span class="row-name">Drawn by Horizon</span><span class="row-meta">5 shots</span></a></li>
|
||||
<li class="row reveal"><a href="#patch-notes"><span class="row-index">04</span><span class="row-name">What changed</span><span class="row-meta">Notes</span></a></li>
|
||||
<li class="row reveal"><a href="#recent"><span class="row-index">04</span><span class="row-name">Recently added</span><span class="row-meta">Releases</span></a></li>
|
||||
</ol>
|
||||
<p class="disclaimer reveal">Unofficial. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
|
||||
</div>
|
||||
@@ -193,14 +196,15 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="patch-notes" class="section notes" aria-labelledby="notes-title">
|
||||
<section id="recent" class="section notes" aria-labelledby="recent-title">
|
||||
<div class="container">
|
||||
<div class="section-head">
|
||||
<p class="kicker reveal"><span>05</span>Patch notes</p>
|
||||
<h2 id="notes-title" class="title reveal">What changed</h2>
|
||||
<p class="kicker reveal"><span>05</span>Releases</p>
|
||||
<h2 id="recent-title" class="title reveal">Recently added</h2>
|
||||
<p class="lede reveal">Alpha builds come out many times a day, as changes land; about once a day the tested ones become Stable, the launcher's default. The newest, and what they added:</p>
|
||||
</div>
|
||||
<div class="releases reveal" id="releases" aria-live="polite">
|
||||
{{NOTES}}
|
||||
<div class="recent reveal" id="recent-releases" aria-live="polite">
|
||||
{{RECENT}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -233,7 +237,7 @@
|
||||
</div>
|
||||
<div class="footer-bar">
|
||||
<span class="footer-mark">Made in the open, in Rust.</span>
|
||||
<nav class="footer-links" aria-label="Elsewhere"><a href="https://github.com/ludovic111/horizon">GitHub</a><a href="https://github.com/ludovic111/horizon/releases">Releases</a><a href="https://github.com/ludovic111/horizon/blob/main/LICENSE">Licence</a><a href="/docs/">Docs</a><a href="/docs/hosting">Host a server</a><a href="/LEGAL.md">Assets</a><a href="/privacy">Privacy</a></nav>
|
||||
<nav class="footer-links" aria-label="Elsewhere"><a href="https://github.com/ludovic111/horizon">GitHub</a><a href="/releases">Releases</a><a href="/benchmarks">Benchmarks</a><a href="https://github.com/ludovic111/horizon/blob/main/LICENSE">Licence</a><a href="/docs/">Docs</a><a href="/docs/hosting">Host a server</a><a href="/LEGAL.md">Assets</a><a href="/privacy">Privacy</a></nav>
|
||||
</div>
|
||||
</div>
|
||||
<p class="footer-word" aria-hidden="true">horizon</p>
|
||||
|
||||
+9
-88
@@ -2,9 +2,10 @@
|
||||
// links and contributors, the navigation, the menus' tabs, the lightbox and the motion.
|
||||
// Everything degrades to the baked-in content when GitHub can't be reached.
|
||||
import { escape } from "./markdown.js";
|
||||
import { releasesHtml } from "./releases.js";
|
||||
import { recentHtml } from "./releases.js";
|
||||
import { contributorsFrom, contributorsHtml } from "./contributors.js";
|
||||
import { isGame, isLauncher as isLauncherTag, launcherVersion, newestFirst } from "./versions.js";
|
||||
import { cached, get, setUpMenu, setUpTheme, slim } from "./chrome.js";
|
||||
|
||||
const REPO = "ludovic111/horizon";
|
||||
const RELEASES_PAGE = `https://github.com/${REPO}/releases?q=launcher&expanded=true`;
|
||||
@@ -13,33 +14,6 @@ const reducedMotion = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||
|
||||
// --- GitHub --------------------------------------------------------------------------
|
||||
|
||||
async function cached(key, load) {
|
||||
try {
|
||||
const hit = JSON.parse(sessionStorage.getItem(key) || "null");
|
||||
if (hit && Date.now() - hit.at < 10 * 60 * 1000) return hit.value;
|
||||
} catch {}
|
||||
const value = await load();
|
||||
try {
|
||||
sessionStorage.setItem(key, JSON.stringify({ at: Date.now(), value }));
|
||||
} catch {}
|
||||
return value;
|
||||
}
|
||||
|
||||
async function get(url, as = "json") {
|
||||
const res = await fetch(url, { headers: as === "json" ? { Accept: "application/vnd.github+json" } : {} });
|
||||
if (!res.ok) throw new Error(`${res.status}`);
|
||||
return as === "json" ? res.json() : res.text();
|
||||
}
|
||||
|
||||
const slim = (r) => ({
|
||||
tag_name: r.tag_name,
|
||||
name: r.name,
|
||||
published_at: r.published_at,
|
||||
html_url: r.html_url,
|
||||
prerelease: r.prerelease,
|
||||
body: r.body || "",
|
||||
assets: r.assets.map((a) => ({ name: a.name, browser_download_url: a.browser_download_url, size: a.size })),
|
||||
});
|
||||
const isLauncher = (r) => isLauncherTag(r.tag_name) && !r.prerelease;
|
||||
|
||||
// The newest 100 releases (GitHub's most per page). Game betas come out several times a day, so the stable game
|
||||
@@ -106,11 +80,12 @@ async function setUpDownload() {
|
||||
document.querySelectorAll("[data-download-meta]").forEach((p) => (p.innerHTML = meta));
|
||||
}
|
||||
|
||||
// --- Patch notes and the links from main ---------------------------------
|
||||
// --- Recently added and the links from main ---------------------------------
|
||||
|
||||
async function setUpNotes() {
|
||||
const list = (await releases).filter((r) => isGame(r.tag_name) && !r.prerelease).sort((a, b) => newestFirst(a.tag_name, b.tag_name));
|
||||
if (list.length) document.getElementById("releases").innerHTML = releasesHtml(list.slice(0, 3));
|
||||
// "Recently added": the newest game releases, Alpha and Stable.
|
||||
async function setUpRecent() {
|
||||
const html = recentHtml((await releases).filter((r) => isGame(r.tag_name)));
|
||||
if (html) document.getElementById("recent-releases").innerHTML = html;
|
||||
}
|
||||
|
||||
async function setUpLinks() {
|
||||
@@ -151,40 +126,6 @@ function setUpNav() {
|
||||
};
|
||||
onScroll(update);
|
||||
update();
|
||||
|
||||
// The phone menu: a full-screen sheet; the page behind it is inert while it is open.
|
||||
const button = document.querySelector(".menu-button");
|
||||
const menu = document.getElementById("menu");
|
||||
const main = document.getElementById("main");
|
||||
const label = button.querySelector(".menu-label");
|
||||
const items = [...menu.querySelectorAll("nav a")];
|
||||
items.forEach((a, i) => a.style.setProperty("transition-delay", `${60 + i * 35}ms`));
|
||||
let closing;
|
||||
const setOpen = (open) => {
|
||||
clearTimeout(closing);
|
||||
button.setAttribute("aria-expanded", String(open));
|
||||
label.textContent = open ? "Close" : "Menu";
|
||||
bar.classList.toggle("is-menu", open);
|
||||
main.inert = open;
|
||||
document.body.style.overflow = open ? "hidden" : "";
|
||||
if (open) {
|
||||
menu.hidden = false;
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => menu.classList.add("is-open")));
|
||||
items[0].focus({ preventScroll: true });
|
||||
} else {
|
||||
menu.classList.remove("is-open");
|
||||
closing = setTimeout(() => (menu.hidden = true), reducedMotion ? 0 : 320);
|
||||
}
|
||||
};
|
||||
button.addEventListener("click", () => setOpen(button.getAttribute("aria-expanded") !== "true"));
|
||||
items.forEach((a) => a.addEventListener("click", () => setOpen(false)));
|
||||
addEventListener("keydown", (e) => {
|
||||
if (e.key === "Escape" && button.getAttribute("aria-expanded") === "true") {
|
||||
setOpen(false);
|
||||
button.focus();
|
||||
}
|
||||
});
|
||||
matchMedia("(min-width: 1120px)").addEventListener("change", (e) => e.matches && setOpen(false));
|
||||
}
|
||||
|
||||
// One rAF-throttled scroll listener for everything that follows the scroll.
|
||||
@@ -254,27 +195,6 @@ function setUpLightbox() {
|
||||
});
|
||||
}
|
||||
|
||||
// --- Light and dark ------------------------------------------------------------------
|
||||
|
||||
// The page follows the system; the toggle picks the other appearance and remembers it.
|
||||
function setUpTheme() {
|
||||
const root = document.documentElement;
|
||||
const button = document.querySelector(".theme-toggle");
|
||||
const label = button.querySelector("[data-theme-label]");
|
||||
const system = matchMedia("(prefers-color-scheme: dark)");
|
||||
const dark = () => (root.dataset.theme ? root.dataset.theme === "dark" : system.matches);
|
||||
const show = () => (label.textContent = dark() ? "Light" : "Dark");
|
||||
button.addEventListener("click", () => {
|
||||
root.dataset.theme = dark() ? "light" : "dark";
|
||||
try {
|
||||
localStorage.setItem("theme", root.dataset.theme);
|
||||
} catch {}
|
||||
show();
|
||||
});
|
||||
system.addEventListener("change", show);
|
||||
show();
|
||||
}
|
||||
|
||||
// --- Motion ---------------------------------------------------------------------------
|
||||
|
||||
function setUpReveal() {
|
||||
@@ -308,9 +228,10 @@ function setUpReveal() {
|
||||
setUpReveal();
|
||||
setUpTheme();
|
||||
setUpNav();
|
||||
setUpMenu();
|
||||
setUpTabs();
|
||||
setUpLightbox();
|
||||
setUpDownload();
|
||||
setUpNotes();
|
||||
setUpRecent();
|
||||
setUpLinks();
|
||||
setUpContributors();
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
// The Releases page: the list baked at build time, refreshed from GitHub when a newer release is out, and the
|
||||
// channel filter. Without JavaScript the baked list reads as it is.
|
||||
import { releasesPageHtml } from "./releases.js";
|
||||
import { isGame, isLauncher, newestFirst } from "./versions.js";
|
||||
import { cached, get, setUpMenu, setUpTheme, slim } from "./chrome.js";
|
||||
|
||||
const REPO = "ludovic111/horizon";
|
||||
const list = document.getElementById("release-list");
|
||||
const counter = document.querySelector("[data-release-count]");
|
||||
const buttons = [...document.querySelectorAll("[data-filter]")];
|
||||
let filter = "all";
|
||||
|
||||
const ours = (r) => !r.draft && (isGame(r.tag_name) || isLauncher(r.tag_name));
|
||||
|
||||
// Every release, a page of 100 at a time (GitHub's most), up to 500.
|
||||
async function loadAll() {
|
||||
const all = [];
|
||||
for (let page = 1; page <= 5; page++) {
|
||||
const batch = await get(`https://api.github.com/repos/${REPO}/releases?per_page=100&page=${page}`);
|
||||
all.push(...batch.filter(ours).map(slim));
|
||||
if (batch.length < 100) break;
|
||||
}
|
||||
return all;
|
||||
}
|
||||
|
||||
function apply() {
|
||||
const entries = [...list.querySelectorAll(".release-entry")];
|
||||
let shown = 0;
|
||||
for (const el of entries) {
|
||||
const on = filter === "all" || el.dataset.channel === filter;
|
||||
el.hidden = !on;
|
||||
if (on) shown++;
|
||||
}
|
||||
counter.textContent = `${shown} release${shown === 1 ? "" : "s"}`;
|
||||
buttons.forEach((b) => b.setAttribute("aria-pressed", String(b.dataset.filter === filter)));
|
||||
}
|
||||
|
||||
async function refresh() {
|
||||
// One small request first: the full list only when GitHub has something newer than the page.
|
||||
const newest = await cached("horizon:releases-newest", () => get(`https://api.github.com/repos/${REPO}/releases?per_page=5`)).catch(() => null);
|
||||
if (!newest) return;
|
||||
const top = newest.filter(ours).map((r) => r.tag_name).sort(newestFirst)[0];
|
||||
if (!top || top === list.dataset.newest) return;
|
||||
const all = await cached("horizon:releases-all", loadAll).catch(() => null);
|
||||
if (!all || !all.length) return;
|
||||
const open = new Set([...list.querySelectorAll(".release-entry[open]")].map((el) => el.id));
|
||||
list.innerHTML = releasesPageHtml(all);
|
||||
list.dataset.newest = top;
|
||||
// Keep what the reader opened open.
|
||||
open.forEach((id) => document.getElementById(id)?.setAttribute("open", ""));
|
||||
apply();
|
||||
}
|
||||
|
||||
// A link to one release (/releases#release-v0.2.1) opens it.
|
||||
function openTarget() {
|
||||
const el = location.hash && document.getElementById(location.hash.slice(1));
|
||||
if (el && el.classList.contains("release-entry")) {
|
||||
if (el.hidden) {
|
||||
filter = "all";
|
||||
apply();
|
||||
}
|
||||
el.open = true;
|
||||
el.scrollIntoView();
|
||||
}
|
||||
}
|
||||
|
||||
buttons.forEach((b) =>
|
||||
b.addEventListener("click", () => {
|
||||
filter = b.dataset.filter;
|
||||
apply();
|
||||
}),
|
||||
);
|
||||
addEventListener("hashchange", openTarget);
|
||||
setUpTheme();
|
||||
setUpMenu();
|
||||
apply();
|
||||
openTarget();
|
||||
refresh().then(openTarget);
|
||||
@@ -0,0 +1,50 @@
|
||||
<!doctype html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Releases · Horizon</title>
|
||||
<meta name="description" content="Every Horizon release, newest first: what each one adds and fixes, its full notes and its downloads. Alpha builds and Stable releases.">
|
||||
<meta name="theme-color" content="#ece7f7" media="(prefers-color-scheme: light)">
|
||||
<meta name="theme-color" content="#0f0d17" media="(prefers-color-scheme: dark)">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<link rel="canonical" href="https://playhorizon.dev/releases">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="Horizon">
|
||||
<meta property="og:title" content="Releases · Horizon">
|
||||
<meta property="og:description" content="Every Horizon release, newest first, with what it adds and fixes.">
|
||||
<meta property="og:url" content="https://playhorizon.dev/releases">
|
||||
<meta property="og:image" content="https://playhorizon.dev/og.png">
|
||||
<link rel="preconnect" href="https://api.github.com" crossorigin>
|
||||
<style>{{STYLE}}</style>
|
||||
<script>document.documentElement.classList.replace("no-js", "js"); try { const t = localStorage.getItem("theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t } catch {}</script>
|
||||
<script type="module" src="{{RELEASES_JS}}"></script>
|
||||
</head>
|
||||
<body class="subpage">
|
||||
<a class="skip" href="#main">Skip to the content</a>
|
||||
{{SITE_NAV}}
|
||||
<main id="main" class="section page-main">
|
||||
<div class="container">
|
||||
<p class="kicker"><span>Releases</span>Every version, newest first</p>
|
||||
<h1 class="display page-title">What's new in Horizon</h1>
|
||||
<p class="lede">Each release lists what it adds and fixes, then its full notes and its downloads. <strong>Alpha</strong> builds come out many times a day as changes land and can break; about once a day the tested ones become <strong>Stable</strong>, what the launcher installs unless you pick Alpha in its Settings. The launcher has its own releases.</p>
|
||||
<div class="release-filter" role="group" aria-label="Show">
|
||||
<button type="button" class="button secondary small" data-filter="all" aria-pressed="true">All</button>
|
||||
<button type="button" class="button secondary small" data-filter="stable" aria-pressed="false">Stable</button>
|
||||
<button type="button" class="button secondary small" data-filter="alpha" aria-pressed="false">Alpha</button>
|
||||
<button type="button" class="button secondary small" data-filter="launcher" aria-pressed="false">Launcher</button>
|
||||
</div>
|
||||
<p class="meta release-count" data-release-count>{{RELEASE_COUNT}}</p>
|
||||
<div class="release-list" id="release-list" data-newest="{{NEWEST_TAG}}" aria-live="polite">
|
||||
{{RELEASE_LIST}}
|
||||
</div>
|
||||
<p class="release-more"><a class="link-arrow" href="https://github.com/ludovic111/horizon/releases">The releases on GitHub<span aria-hidden="true">→</span></a></p>
|
||||
<p class="disclaimer">Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
|
||||
</div>
|
||||
</main>
|
||||
{{SITE_FOOTER}}
|
||||
</body>
|
||||
</html>
|
||||
+141
-31
@@ -1,42 +1,152 @@
|
||||
// The patch notes: the latest game release in full, the ones before it folded. Shared by
|
||||
// build.mjs (baked into the page) and main.js (refreshed from GitHub).
|
||||
import { markdown, escape } from "./markdown.js";
|
||||
// The release notes on the site: the home page's "Recently added" block and the Releases page (every release,
|
||||
// newest first). Shared by build.mjs (baked into the pages) and the pages' scripts (refreshed from GitHub).
|
||||
// Tags: the game's vX.Y.Z and the launcher's launcher@X.Y.Z from 0.2, vYYYY.MM.DD[.N] and launcher-vX.Y.Z before
|
||||
// (src/versions.js). Alpha is a game pre-release, Stable a game release (docs/release-flow.md, "Channels").
|
||||
import { markdown, inline, escape } from "./markdown.js";
|
||||
import { isLauncher, launcherVersion, newestFirst } from "./versions.js";
|
||||
|
||||
const REPO = "ludovic111/horizon";
|
||||
|
||||
export const channel = (r) => (isLauncher(r.tag_name) ? "Launcher" : r.prerelease ? "Alpha" : "Stable");
|
||||
const anchor = (r) => `release-${r.tag_name.replace(/[^\w.-]/g, "-")}`;
|
||||
|
||||
// "Horizon 0.2.3: Cave culling, weather" (before 0.2, "Horizon 2026.10.13: …") reads as the version and its line.
|
||||
function parts(r) {
|
||||
const version = r.tag_name.replace(/^v/, "");
|
||||
const name = r.name || "";
|
||||
const line = name.includes(": ") ? name.slice(name.indexOf(": ") + 2) : name.replace(/^Horizon\s*/, "").replace(version, "").trim();
|
||||
export function parts(r) {
|
||||
const version = launcherVersion(r.tag_name) ?? r.tag_name.replace(/^v/, "");
|
||||
const name = (r.name || "").trim();
|
||||
let line = name.includes(": ") ? name.slice(name.indexOf(": ") + 2) : name.replace(/^Horizon( launcher)?\s*/i, "").replace(version, "").trim();
|
||||
if (junk(line)) line = fromNotes(r.body) || line;
|
||||
return { version, line: line.charAt(0).toUpperCase() + line.slice(1), date: (r.published_at || "").slice(0, 10) };
|
||||
}
|
||||
|
||||
export function releasesHtml(list) {
|
||||
if (!list.length) return "";
|
||||
const [latest, ...older] = list;
|
||||
const l = parts(latest);
|
||||
const head = `<article class="release-latest">
|
||||
<header class="release-head">
|
||||
<p class="eyebrow">Latest release<span aria-hidden="true"> · </span><time datetime="${l.date}">${l.date}</time></p>
|
||||
<h3 class="release-version">${escape(l.version)}</h3>
|
||||
${l.line ? `<p class="release-line">${escape(l.line)}</p>` : ""}
|
||||
<a class="link-arrow" href="${escape(latest.html_url)}">Downloads and full notes<span aria-hidden="true">→</span></a>
|
||||
</header>
|
||||
<div class="prose release-body">${markdown(latest.body || "")}</div>
|
||||
</article>`;
|
||||
const rest = older
|
||||
// A title made of issue numbers and "fix" ("#1255, mob pushes, fix, #1222") says nothing.
|
||||
const junk = (line) => {
|
||||
const bits = line.split(",").map((b) => b.trim()).filter(Boolean);
|
||||
return bits.length > 1 && bits.filter((b) => /^(#\d+|fix(es)?|fixed)$/i.test(b)).length * 2 >= bits.length;
|
||||
};
|
||||
|
||||
// The first item that isn't a bare "Fix #123:" prefix, as the line: "Mob pushes: one list per mob… and 3 more fixes".
|
||||
function fromNotes(body) {
|
||||
const s = sections(body);
|
||||
const items = [...s.filter((x) => /^new|what's new/i.test(x.title)), ...s.filter((x) => /^fixed/i.test(x.title))].flatMap((x) => x.items).map(plainItem);
|
||||
const clean = items.map((i) => i.replace(/^(fix|fixes)\s+#\d+:\s*/i, "").replace(/^\w+\([^)]*\):\s*/, "")).filter(Boolean);
|
||||
if (!clean.length) return "";
|
||||
const first = clean[0].replace(/[.]$/, "");
|
||||
return clean.length > 1 ? `${first} and ${clean.length - 1} more` : first;
|
||||
}
|
||||
|
||||
// The notes' "### Heading" sections and their top-level items, in order.
|
||||
export function sections(body) {
|
||||
const out = [];
|
||||
let current = null;
|
||||
for (const raw of (body || "").replace(/\r\n?/g, "\n").split("\n")) {
|
||||
const heading = raw.match(/^#{2,3}\s+(.+?)\s*$/);
|
||||
if (heading) out.push((current = { title: heading[1], items: [] }));
|
||||
else if (current && /^[-*]\s+/.test(raw)) current.items.push(raw.replace(/^[-*]\s+/, "").trim());
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
// An item without its pull request references: "Riptide (#123, fixes #45)" -> "Riptide".
|
||||
export const plainItem = (item) => item.replace(/\s*\((?:#\d+|fixes #\d+|[^()]*#\d+[^()]*)\)\s*/g, " ").replace(/\s+/g, " ").trim();
|
||||
|
||||
// The notes' first sentence, for a release with no title line and no sections ("Rebuilt from the latest main.").
|
||||
const firstLine = (body) => ((body || "").split(/\r?\n/).find((l) => l.trim() && !/^#/.test(l)) || "").trim().replace(/[.:]$/, "");
|
||||
|
||||
const count = (n, one, many) => `${n} ${n === 1 ? one : many}`;
|
||||
|
||||
// What a release changes, in a line: "12 new, 30 fixed, 2 known issues".
|
||||
export function overview(r) {
|
||||
const s = sections(r.body);
|
||||
const by = (re) => s.filter((x) => re.test(x.title)).reduce((n, x) => n + x.items.length, 0);
|
||||
const added = by(/^new|what's new/i);
|
||||
const fixed = by(/^fixed/i);
|
||||
const known = by(/^known/i);
|
||||
const bits = [];
|
||||
if (added) bits.push(count(added, "new feature", "new features"));
|
||||
if (fixed) bits.push(count(fixed, "fix", "fixes"));
|
||||
if (known) bits.push(count(known, "known issue", "known issues"));
|
||||
return { added, fixed, known, text: bits.join(", ") };
|
||||
}
|
||||
|
||||
export function highlights(r, n = 3) {
|
||||
const added = sections(r.body).filter((x) => /^new|what's new/i.test(x.title)).flatMap((x) => x.items);
|
||||
return added.slice(0, n).map(plainItem);
|
||||
}
|
||||
|
||||
const byTag = (a, b) => newestFirst(a.tag_name, b.tag_name);
|
||||
const badge = (r) => `<span class="badge badge-${channel(r).toLowerCase()}">${channel(r)}</span>`;
|
||||
|
||||
// The home page: the newest releases on a line each, and what the newest ones added.
|
||||
export function recentHtml(list, { rows = 5, picks = 3 } = {}) {
|
||||
const sorted = [...list].sort(byTag);
|
||||
const game = sorted.filter((r) => !isLauncher(r.tag_name));
|
||||
if (!game.length) return "";
|
||||
const lines = game
|
||||
.slice(0, rows)
|
||||
.map((r) => {
|
||||
const o = parts(r);
|
||||
return `<details class="release">
|
||||
<summary><span class="release-tag">${escape(o.version)}</span><span class="release-sub">${escape(o.line)}</span><time datetime="${o.date}">${o.date}</time></summary>
|
||||
<div class="prose">${markdown(r.body || "")}<p><a href="${escape(r.html_url)}">Downloads and full notes on GitHub</a></p></div>
|
||||
</details>`;
|
||||
const p = parts(r);
|
||||
return `<li class="row recent-row"><a href="/releases#${anchor(r)}"><span class="row-index"><time datetime="${p.date}">${p.date}</time></span><span class="row-name">${escape(p.version)}</span><span class="recent-line">${escape(p.line || overview(r).text || firstLine(r.body) || "Release notes")}</span><span class="row-meta">${badge(r)}</span></a></li>`;
|
||||
})
|
||||
.join("");
|
||||
return `${head}
|
||||
<div class="release-older">
|
||||
${rest ? `<p class="release-older-title">Earlier releases</p>${rest}` : ""}
|
||||
<p class="release-more"><a class="link-arrow" href="https://github.com/${REPO}/releases">Every release on GitHub<span aria-hidden="true">→</span></a></p>
|
||||
</div>`;
|
||||
// What landed last: the "New" items of the newest releases with the highest pull request numbers (a release's
|
||||
// notes list everything since the last Stable, oldest first).
|
||||
const pr = (item) => Math.max(0, ...[...item.matchAll(/#(\d+)/g)].map((m) => Number(m[1])));
|
||||
const seen = new Set();
|
||||
const picked = game
|
||||
.slice(0, rows)
|
||||
.flatMap((r) => sections(r.body).filter((x) => /^new|what's new/i.test(x.title)).flatMap((x) => x.items).map((raw) => ({ raw, item: plainItem(raw), r })))
|
||||
.filter(({ item }) => !seen.has(item) && seen.add(item))
|
||||
.sort((a, b) => pr(b.raw) - pr(a.raw))
|
||||
.slice(0, picks);
|
||||
const picks_ = picked
|
||||
.map(({ item, r }) => `<li class="highlight"><p>${inline(item)}</p><a class="highlight-from" href="/releases#${anchor(r)}">${escape(parts(r).version)}</a></li>`)
|
||||
.join("");
|
||||
return `<ol class="index recent-list" aria-label="The newest releases">${lines}</ol>
|
||||
${picks_ ? `<div class="recent-picks"><p class="eyebrow">New lately</p><ul class="highlights">${picks_}</ul></div>` : ""}
|
||||
<p class="release-more"><a class="link-arrow" href="/releases">Every release, with its full notes<span aria-hidden="true">→</span></a></p>`;
|
||||
}
|
||||
|
||||
const ASSET_LABELS = [
|
||||
[/linux-x86_64/, "Linux x86-64"],
|
||||
[/macos-arm64/, "macOS, Apple Silicon"],
|
||||
[/macos-x86_64/, "macOS, Intel"],
|
||||
[/windows-x64/, "Windows x64"],
|
||||
];
|
||||
function assetLabel(name) {
|
||||
if (/^SHA256SUMS/.test(name)) return name.endsWith(".sig") ? "Checksums signature" : "Checksums";
|
||||
const os = ASSET_LABELS.find(([re]) => re.test(name));
|
||||
const what = /server/.test(name) ? "Server" : /launcher/.test(name) ? "Launcher" : /smoke-test/.test(name) ? "Smoke test" : "Game";
|
||||
return os ? `${what}, ${os[1]}` : name;
|
||||
}
|
||||
const size = (bytes) => (bytes >= 1e6 ? `${(bytes / 1e6).toFixed(0)} MB` : bytes >= 1e3 ? `${(bytes / 1e3).toFixed(0)} kB` : `${bytes} B`);
|
||||
|
||||
function releaseHtml(r, open) {
|
||||
const p = parts(r);
|
||||
const o = overview(r);
|
||||
const top = highlights(r, 4);
|
||||
const downloads = (r.assets || [])
|
||||
.map((a) => `<li><a href="${escape(a.browser_download_url)}">${escape(assetLabel(a.name))}</a><span>${escape(a.name)} · ${size(a.size || 0)}</span></li>`)
|
||||
.join("");
|
||||
return `<details class="release release-entry" id="${anchor(r)}" data-channel="${channel(r).toLowerCase()}"${open ? " open" : ""}>
|
||||
<summary><span class="release-tag">${escape(p.version)}</span><span class="release-sub">${badge(r)}${escape(p.line)}</span><time datetime="${p.date}">${p.date}</time></summary>
|
||||
<div class="release-detail">
|
||||
${o.text || top.length ? `<div class="release-overview">
|
||||
${o.text ? `<p class="release-counts">${escape(o.text)}</p>` : ""}
|
||||
${top.length ? `<ul>${top.map((t) => `<li>${inline(t)}</li>`).join("")}</ul>` : ""}
|
||||
</div>` : ""}
|
||||
<div class="prose">${markdown(r.body || "") || "<p>No notes for this release.</p>"}</div>
|
||||
${downloads ? `<div class="release-downloads"><p class="eyebrow">Downloads</p><ul>${downloads}</ul></div>` : ""}
|
||||
<p class="release-github"><a href="${escape(r.html_url)}">This release on GitHub</a></p>
|
||||
</div>
|
||||
</details>`;
|
||||
}
|
||||
|
||||
// The Releases page: every release, newest first; the newest few open.
|
||||
export function releasesPageHtml(list, { open = 3 } = {}) {
|
||||
const sorted = [...list].sort(byTag);
|
||||
if (!sorted.length) return "";
|
||||
return sorted.map((r, i) => releaseHtml(r, i < open)).join("\n");
|
||||
}
|
||||
|
||||
export const releasesUrl = `https://github.com/${REPO}/releases`;
|
||||
|
||||
+125
-11
@@ -300,12 +300,7 @@ figcaption span { font-family: var(--mono); font-size: var(--text-micro); letter
|
||||
.screen-caption { margin-top: 12px; font-size: var(--text-caption); color: var(--muted); }
|
||||
|
||||
/* Patch notes. */
|
||||
.release-latest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
|
||||
.release-head { position: sticky; top: calc(var(--nav) + 24px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
|
||||
.eyebrow { text-transform: uppercase; }
|
||||
.release-version { font-size: var(--text-display); line-height: var(--text-display-line); letter-spacing: var(--text-display-tracking); font-weight: 500; }
|
||||
.release-line { color: var(--muted); max-width: 36ch; }
|
||||
.release-body { font-size: var(--text-ui); }
|
||||
.prose h2, .prose h3, .prose h4 { font-size: var(--text-heading); line-height: var(--text-heading-line); color: var(--ink); margin-top: 28px; }
|
||||
.prose ul, .prose ol { padding-left: 18px; list-style: disc; }
|
||||
.prose li + li { margin-top: 6px; }
|
||||
@@ -313,8 +308,6 @@ figcaption span { font-family: var(--mono); font-size: var(--text-micro); letter
|
||||
.prose strong { color: var(--ink); font-weight: 500; }
|
||||
.prose pre { padding: 16px; border-radius: var(--radius-plate); background: var(--plate-soft); overflow-x: auto; }
|
||||
.prose pre code { background: none; padding: 0; }
|
||||
.release-older { margin-top: 64px; }
|
||||
.release-older-title { font: var(--text-micro) / var(--text-micro-line) var(--mono); letter-spacing: var(--text-micro-tracking); color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
|
||||
.release { border-top: 1px solid var(--rule); }
|
||||
.release:last-of-type { border-bottom: 1px solid var(--rule); }
|
||||
.release summary {
|
||||
@@ -404,9 +397,9 @@ figcaption span { font-family: var(--mono); font-size: var(--text-micro); letter
|
||||
/* --- Narrow screens ------------------------------------------------------------------------ */
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.section-head, .parity-hero, .launcher-grid, .release-latest { grid-template-columns: minmax(0, 1fr); }
|
||||
.section-head, .parity-hero, .launcher-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
.section-head { gap: 16px; }
|
||||
.screens, .release-head { position: static; }
|
||||
.screens { position: static; }
|
||||
.fact { grid-template-columns: var(--index) minmax(0, 1fr); row-gap: 6px; }
|
||||
.fact p { grid-column: 2; }
|
||||
.mosaic { grid-template-columns: minmax(0, 1fr); }
|
||||
@@ -529,7 +522,7 @@ body::before {
|
||||
}
|
||||
|
||||
/* Pixel type for what names and what you act on; paragraphs stay in Geist. */
|
||||
.display, .title, .statement, .row-name, .card-title, .release-version, .release-tag, .count,
|
||||
.display, .title, .statement, .row-name, .card-title, .release-tag, .count,
|
||||
.fact h3, .features h3, .system h3, .contributors-title, .footer-disclaimer, .footer-word,
|
||||
.nav-mark, .docs-prose h2, .docs-prose h3, .prose h2, .prose h3, .prose h4, .menu nav a {
|
||||
font-family: var(--pixel); font-weight: 600; letter-spacing: 0;
|
||||
@@ -581,7 +574,6 @@ code { border-radius: 0; background: var(--well); box-shadow: 0 0 0 1px var(--ou
|
||||
.contributor { padding: 12px 14px; }
|
||||
.contributors-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
|
||||
.contributor-avatar { border-radius: 0; box-shadow: 0 0 0 2px var(--outline); image-rendering: pixelated; }
|
||||
.release-latest { border-top: 0; padding: 28px; background: var(--panel); border: var(--block-outline) solid var(--outline); box-shadow: var(--panel-edges); }
|
||||
.system.is-full .system-state { color: var(--success); }
|
||||
|
||||
/* Screenshots and the launcher's screens: square, outlined. */
|
||||
@@ -627,3 +619,125 @@ code { border-radius: 0; background: var(--well); box-shadow: 0 0 0 1px var(--ou
|
||||
.footer-word { color: var(--raised); letter-spacing: 0.02em; }
|
||||
:root[data-theme="dark"] .footer-word { color: var(--panel); }
|
||||
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-word { color: var(--panel); } }
|
||||
|
||||
/* --- Releases and Benchmarks pages, and the home page's "Recently added" ------------------ */
|
||||
|
||||
/* Pixelify Sans' "fi" ligature draws as "A" ("8 Axes"): no common ligatures anywhere. */
|
||||
:root { font-variant-ligatures: no-common-ligatures; }
|
||||
|
||||
.page-main { padding-top: calc(var(--nav) + clamp(40px, 6vw, 80px)); }
|
||||
.page-title { max-width: 18ch; margin-bottom: 20px; }
|
||||
.page-main > .container > .lede { font-size: var(--text-body); }
|
||||
.page-main .disclaimer { margin-top: 48px; }
|
||||
|
||||
/* Channel and source badges: small square tags. */
|
||||
.badge {
|
||||
display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-right: 10px; vertical-align: 2px;
|
||||
font: 500 12px / 1 var(--pixel); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
|
||||
border: var(--block-outline) solid var(--outline); background: var(--well); color: var(--ink-soft);
|
||||
}
|
||||
.badge-stable { background: color-mix(in srgb, var(--success) 22%, var(--panel)); color: var(--ink); }
|
||||
.badge-alpha { background: color-mix(in srgb, var(--warn) 24%, var(--panel)); color: var(--ink); }
|
||||
.badge-launcher { background: color-mix(in srgb, var(--accent) 20%, var(--panel)); color: var(--ink); }
|
||||
.badge-us { background: color-mix(in srgb, var(--accent) 20%, var(--panel)); color: var(--ink); }
|
||||
.badge-players { background: color-mix(in srgb, var(--success) 22%, var(--panel)); color: var(--ink); }
|
||||
.badge-estimate { background: color-mix(in srgb, var(--warn) 24%, var(--panel)); color: var(--ink); }
|
||||
|
||||
/* Home: the newest releases on a line each, then what they added. */
|
||||
.recent-list .row > a { grid-template-columns: 8.5rem minmax(0, 13rem) minmax(0, 1fr) auto; align-items: baseline; }
|
||||
.recent-line { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.recent-list .row-name { font-size: clamp(18px, 1.8vw, 22px); }
|
||||
.recent-list .badge { margin-right: 0; }
|
||||
.recent-picks { margin-top: 32px; }
|
||||
.recent-picks .eyebrow { margin-bottom: 12px; }
|
||||
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
||||
.highlight {
|
||||
display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px 20px;
|
||||
background: var(--panel); border: var(--block-outline) solid var(--outline); box-shadow: var(--panel-edges);
|
||||
}
|
||||
.highlight p { color: var(--ink); }
|
||||
.highlight-from { font: var(--text-micro) / 1 var(--mono); letter-spacing: var(--text-micro-tracking); color: var(--muted); }
|
||||
.highlight-from:hover { color: var(--accent); }
|
||||
|
||||
/* Releases: a filter, then every release as a panel that opens. */
|
||||
.release-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
|
||||
.release-filter .button[aria-pressed="true"] { background: var(--face); color: var(--on-face); box-shadow: inset 0 var(--block-bevel) 0 var(--face-bevel), inset 0 calc(-1 * var(--block-lip)) 0 var(--face-lip); }
|
||||
.release-count { margin: 16px 0 12px; }
|
||||
.release-list { display: grid; gap: 8px; }
|
||||
.release-list .release + .release { margin-top: 0; }
|
||||
.release-entry summary { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; }
|
||||
.release-entry .release-sub { display: flex; align-items: baseline; flex-wrap: wrap; row-gap: 4px; }
|
||||
.release-detail { padding: 0 0 24px 11rem; margin-left: 16px; display: grid; gap: 20px; max-width: calc(11rem + 16px + var(--measure) + 120px); }
|
||||
.release-detail .prose { padding: 0; margin: 0; font-size: var(--text-ui); max-width: none; }
|
||||
.release-overview { padding: 16px 18px; background: var(--well); box-shadow: 0 0 0 var(--block-outline) var(--outline); }
|
||||
.release-counts { font-family: var(--pixel); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
|
||||
.release-overview ul { list-style: square; padding-left: 18px; color: var(--ink-soft); font-size: var(--text-ui); }
|
||||
.release-overview li + li { margin-top: 4px; }
|
||||
.release-downloads ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 8px; }
|
||||
.release-downloads li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--button); box-shadow: 0 0 0 var(--block-outline) var(--outline); }
|
||||
.release-downloads li a { font-weight: 500; }
|
||||
.release-downloads li span { font: var(--text-micro) / 1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
|
||||
.release-github { font-size: var(--text-caption); }
|
||||
.release-entry:target { box-shadow: var(--panel-edges), 0 0 0 3px var(--accent); }
|
||||
|
||||
/* Benchmarks. */
|
||||
.bench-section { margin-top: clamp(64px, 8vw, 112px); }
|
||||
.bench-section > .title { margin-bottom: 16px; }
|
||||
.bench-section > .lede { margin-bottom: 32px; }
|
||||
.machines { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
||||
.machine { min-width: 0; padding: 24px; background: var(--panel); border: var(--block-outline) solid var(--outline); box-shadow: var(--panel-edges); }
|
||||
.machine-head { display: grid; gap: 10px; margin-bottom: 20px; }
|
||||
.machine-name { font-family: var(--pixel); font-weight: 600; font-size: var(--text-title); line-height: var(--text-title-line); }
|
||||
.machine-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
|
||||
.machine-facts div { display: flex; gap: 8px; min-width: 0; }
|
||||
.machine-facts dt { font: var(--text-micro) / 1.6 var(--mono); letter-spacing: var(--text-micro-tracking); text-transform: uppercase; color: var(--muted); }
|
||||
.machine-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: var(--text-caption); color: var(--ink-soft); }
|
||||
.machine-note { font-size: var(--text-caption); color: var(--muted); max-width: 90ch; }
|
||||
/* relative: the screen-reader-only labels inside are absolute and would escape the scroll box otherwise. */
|
||||
.table-wrap { position: relative; overflow-x: auto; }
|
||||
.bench-table { width: 100%; border-collapse: collapse; font-size: var(--text-ui); }
|
||||
.bench-table th, .bench-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
|
||||
.bench-table thead th { font: var(--text-micro) / 1.4 var(--mono); letter-spacing: var(--text-micro-tracking); text-transform: uppercase; color: var(--muted); font-weight: 400; }
|
||||
.bench-table thead tr:first-child th { color: var(--ink); }
|
||||
.bench-table tbody th { font-weight: 500; color: var(--ink); }
|
||||
.bench-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.bench-table td.wins { color: var(--ink); font-weight: 600; }
|
||||
.bench-table td.vs { font-size: var(--text-caption); white-space: nowrap; }
|
||||
.vs-horizon { color: var(--success); }
|
||||
.vs-java { color: var(--danger); }
|
||||
.vs-tie, .vs-none { color: var(--muted); }
|
||||
.capped { font: var(--text-micro) / 1 var(--mono); color: var(--warn); cursor: help; }
|
||||
.metric-hint { display: block; font: var(--text-micro) / 1.4 var(--mono); color: var(--muted); font-weight: 400; }
|
||||
.java-wins { margin-top: 16px; font-size: var(--text-caption); color: var(--ink-soft); }
|
||||
.picker { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; padding: 20px; background: var(--panel); border: var(--block-outline) solid var(--outline); box-shadow: var(--panel-edges); }
|
||||
.picker label { display: grid; gap: 6px; }
|
||||
.picker label > span, .picker legend { font: var(--text-micro) / 1.4 var(--mono); letter-spacing: var(--text-micro-tracking); text-transform: uppercase; color: var(--muted); }
|
||||
.picker select {
|
||||
min-width: min(320px, 80vw); height: var(--control); padding: 0 10px; font: inherit; font-size: var(--text-ui); color: var(--ink);
|
||||
background: var(--well); border: var(--block-outline) solid var(--outline); border-radius: 0;
|
||||
}
|
||||
.picker-rd { display: flex; gap: 16px; align-items: center; border: 0; padding: 0; margin: 0; }
|
||||
.picker-rd legend { margin-bottom: 6px; }
|
||||
.picker-rd label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pixel); font-weight: 500; height: var(--control); }
|
||||
.picker-rd input { accent-color: var(--accent); width: 18px; height: 18px; }
|
||||
.pick-result { margin-top: 16px; padding: 20px; background: var(--panel); border: var(--block-outline) solid var(--outline); box-shadow: var(--panel-edges); }
|
||||
.pick-head { margin-bottom: 12px; font-size: var(--text-caption); color: var(--ink-soft); line-height: 1.8; }
|
||||
.pick-result .meta { margin-top: 12px; }
|
||||
.empty { color: var(--muted); }
|
||||
.prose-section .prose { max-width: 80ch; }
|
||||
.spec-table { margin-top: 24px; }
|
||||
.spec-table summary { cursor: pointer; font-family: var(--pixel); font-weight: 600; }
|
||||
.spec-table .bench-table { margin-top: 16px; max-width: 760px; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.recent-list .row > a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
|
||||
.recent-list .row-index { grid-column: 1; grid-row: 1; }
|
||||
.recent-list .row-name { grid-column: 1; grid-row: 2; }
|
||||
.recent-line { grid-column: 1 / -1; grid-row: 3; white-space: normal; }
|
||||
.recent-list .row-meta { grid-column: 2; grid-row: 1; }
|
||||
.highlights { grid-template-columns: minmax(0, 1fr); }
|
||||
.release-entry summary { grid-template-columns: minmax(0, 1fr) auto; }
|
||||
.release-detail { padding-left: 0; margin-left: 0; }
|
||||
.machine { padding: 16px; }
|
||||
}
|
||||
.older-runs { margin-top: 16px; max-width: 90ch; padding: 16px 20px; background: var(--well); box-shadow: 0 0 0 var(--block-outline) var(--outline); font-size: var(--text-caption); }
|
||||
|
||||
Reference in New Issue
Block a user