[PR #6582] [MERGED] Benchmarks: Horizon main vs vanilla 26.3 on a loaded Mac mini M4 Pro #6964

Closed
opened 2026-11-03 06:30:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6582
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: perf/baseline-20x-mac


📝 Commits (1)

  • 0bb6a37 Benchmarks: Horizon main vs vanilla 26.3 on a loaded Mac mini M4 Pro

📊 Changes

10 files changed (+6632 additions, -0 deletions)

View changed files

➕ benchmarks/perf/horizon-m4pro-1080p-rd16.json (+758 -0)
➕ benchmarks/perf/horizon-m4pro-1080p-rd32.json (+758 -0)
➕ benchmarks/perf/horizon-m4pro-1080p-rd8.json (+758 -0)
➕ benchmarks/perf/macmini-m4pro-loaded-2026-11-01.md (+68 -0)
➕ benchmarks/perf/vanilla-m4pro-1080p-rd16.json (+707 -0)
➕ benchmarks/perf/vanilla-m4pro-1080p-rd32.json (+707 -0)
➕ benchmarks/perf/vanilla-m4pro-1080p-rd8.json (+707 -0)
➕ benchmarks/perf/vanilla-mods-m4pro-1080p-rd16.json (+723 -0)
➕ benchmarks/perf/vanilla-mods-m4pro-1080p-rd32.json (+723 -0)
➕ benchmarks/perf/vanilla-mods-m4pro-1080p-rd8.json (+723 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

The first tools/perf_bench.py reports from the Mac mini M4 Pro: Horizon main 1bd24e4042 (release, Metal), vanilla 26.3 and vanilla + Sodium 0.9.2 / Lithium 0.26.2 / FerriteCore 9.0.0 / ImmediatelyFast 1.17.1, at RD 8, 16 and 32, 1920x1080, 3 fresh-world games each, the games taking turns inside each repeat.

These are not player numbers, and benchmarks/perf/macmini-m4pro-loaded-2026-11-01.md says why:

  • the Mac was busy with other work the whole time (load average 15-114 on 14 cores). Horizon's render and server threads run at user-interactive QoS and the JVM's don't, so most of the 10-50x rows measure contention;
  • every game ran offscreen (the session was locked);
  • vanilla's window was shrunk to 1920x930 by the 1080p screen, while Horizon rendered 1920x1080. That's why perf_bench --table refuses to compare these reports. The page's tables skip that check.

So docs/benchmark.md's Results are left alone. Worth keeping: the least-loaded RD 32 games, where Sodium matches Horizon's average FPS over the forest and the ocean (Horizon is GPU-bound at 4.4-5.7 ms/frame there), and the macOS physical footprint (GPU memory included), level with vanilla's at RD 32 and above it at peak. The full gap analysis and the workstreams built on it are in the client-perf wave's notes.

Data only, no code: skip-release.

pr_ready (tools/pr_ready.py --quick on ludovics-mac-mini, against origin/main at c9d49d432, 2 min 18 s)

Check Result
Scope ⚠️ 10 files, +6632 −0; 6564 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 595 passed (2 min 17 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 13 affected, to run in CI (--quick): armor_stand_frost, arrow_wind_charge, boat_authority, boat_paddle_reset, boat_submerged, dragon_render, enchantment_components, inline_object, item_use_order, lan_integration, mount_submerged, spawn_egg_fluid and 1 more
Label skip-release

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6582 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `perf/baseline-20x-mac` --- ### 📝 Commits (1) - [`0bb6a37`](https://github.com/horizon-rust/horizon/commit/0bb6a370c3bac08cfdb0fa5f0690d767d0337200) Benchmarks: Horizon main vs vanilla 26.3 on a loaded Mac mini M4 Pro ### 📊 Changes **10 files changed** (+6632 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `benchmarks/perf/horizon-m4pro-1080p-rd16.json` (+758 -0) ➕ `benchmarks/perf/horizon-m4pro-1080p-rd32.json` (+758 -0) ➕ `benchmarks/perf/horizon-m4pro-1080p-rd8.json` (+758 -0) ➕ `benchmarks/perf/macmini-m4pro-loaded-2026-11-01.md` (+68 -0) ➕ `benchmarks/perf/vanilla-m4pro-1080p-rd16.json` (+707 -0) ➕ `benchmarks/perf/vanilla-m4pro-1080p-rd32.json` (+707 -0) ➕ `benchmarks/perf/vanilla-m4pro-1080p-rd8.json` (+707 -0) ➕ `benchmarks/perf/vanilla-mods-m4pro-1080p-rd16.json` (+723 -0) ➕ `benchmarks/perf/vanilla-mods-m4pro-1080p-rd32.json` (+723 -0) ➕ `benchmarks/perf/vanilla-mods-m4pro-1080p-rd8.json` (+723 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The first `tools/perf_bench.py` reports from the Mac mini M4 Pro: Horizon main 1bd24e4042 (release, Metal), vanilla 26.3 and vanilla + Sodium 0.9.2 / Lithium 0.26.2 / FerriteCore 9.0.0 / ImmediatelyFast 1.17.1, at RD 8, 16 and 32, 1920x1080, 3 fresh-world games each, the games taking turns inside each repeat. **These are not player numbers**, and `benchmarks/perf/macmini-m4pro-loaded-2026-11-01.md` says why: - the Mac was busy with other work the whole time (load average 15-114 on 14 cores). Horizon's render and server threads run at user-interactive QoS and the JVM's don't, so most of the 10-50x rows measure contention; - every game ran `offscreen` (the session was locked); - vanilla's window was shrunk to 1920x930 by the 1080p screen, while Horizon rendered 1920x1080. That's why `perf_bench --table` refuses to compare these reports. The page's tables skip that check. So docs/benchmark.md's Results are left alone. Worth keeping: the least-loaded RD 32 games, where Sodium matches Horizon's average FPS over the forest and the ocean (Horizon is GPU-bound at 4.4-5.7 ms/frame there), and the macOS physical footprint (GPU memory included), level with vanilla's at RD 32 and above it at peak. The full gap analysis and the workstreams built on it are in the client-perf wave's notes. Data only, no code: `skip-release`. **pr_ready** (`tools/pr_ready.py --quick` on ludovics-mac-mini, against origin/main at c9d49d432, 2 min 18 s) | Check | Result | | --- | --- | | Scope | ⚠️ 10 files, +6632 −0; 6564 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 595 passed (2 min 17 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 13 affected, to run in CI (--quick): armor_stand_frost, arrow_wind_charge, boat_authority, boat_paddle_reset, boat_submerged, dragon_render, enchantment_components, inline_object, item_use_order, lan_integration, mount_submerged, spawn_egg_fluid and 1 more | | Label | `skip-release` | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:30:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6964
No description provided.