[PR #12] [MERGED] Combine foreground terrain controls and compare Java collector settings #2263

Closed
opened 2026-11-02 15:54:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/12
Author: @ludovic111
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/3/2026
Merged by: @ludovic111

Base: main ← Head: collector-validation


📝 Commits (2)

  • 33f9f5a Combine foreground terrain controls and validate collector experiments
  • 6f73ac2 Record exact combined OpenGL and Vulkan world validations

📊 Changes

20 files changed (+225 additions, -13 deletions)

View changed files

📝 .github/workflows/ci.yml (+2 -0)
📝 README.md (+9 -2)
➕ docs/collectors.md (+49 -0)
📝 docs/compact-headers.md (+1 -1)
➕ docs/foreground-first.md (+30 -0)
📝 docs/playable-validation.md (+36 -1)
📝 docs/process-memory.md (+5 -0)
📝 docs/server-quickstart.txt (+5 -0)
➕ docs/vulkan.md (+32 -0)
📝 mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java (+2 -0)
📝 mods/horizon-lab/src/main/resources/fabric.mod.json (+1 -1)
📝 packs/START-HERE.txt (+8 -0)
📝 packs/mods.lock.json (+1 -1)
📝 tests/test_packs.py (+14 -1)
📝 tools/Compare-Benchmarks.html (+5 -0)
📝 tools/build_mod.py (+2 -0)
📝 tools/build_pack.py (+3 -1)
📝 tools/runtime.py (+11 -1)
📝 tools/server.py (+2 -1)
📝 tools/test_jfr.py (+7 -3)

📄 Description

The terrain controls can now be tested together without manually editing four configuration files. Adds foreground-first and foreground-vulkan profiles with balanced distances/mods, all four controls enabled, and a captured 120 FPS adaptive goal. The goal governs background duty cycle; pack rendering remains uncapped and normal simulation stays at 12 chunks. Isolated profiles stay available.

Adds explicit per-process G1/ZGC selection to demo/server launchers, checks metrics and JFR event interpretation under ZGC, clarifies that collector MXBean collection time is not a pause total, and distinguishes the game’s uncapped framerate option from a numeric cap in reports/viewer. Documents Prism override checkboxes, collector comparisons and the verified bundled Mac ARM64 MoltenVK route. Records the exact v0.10.0 game validation.

Validation: 22 Python checks; original mod/metrics/native-memory tests including ZGC with compact headers; the JFR fixture independently checked against the JDK exporter under ZGC. The exact candidate JAR completed both 120-second Linux world captures: OpenGL 640 frame intervals / 2,401 server ticks; Vulkan 618 frame intervals / 2,413 ticks. CSV counts/means match JSON, each report has 120 RSS samples, all hook flags are enabled, the adaptive goal is 120 and rendering is uncapped. Actual view/simulation distances remain 12/12. Both worlds, databases and workers close cleanly. The offline viewer displays these actual settings. CI passes on Windows/Linux/ARM macOS, including ZGC fixtures on each and the real-client applied-hook test on Linux. No M2 performance winner, whole-game RAM improvement or universal GPU compatibility claim is made. Prepares v0.11.0 with fourteen portable profiles.


🔄 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/12 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/3/2026 **Status:** ✅ Merged **Merged:** 10/3/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `collector-validation` --- ### 📝 Commits (2) - [`33f9f5a`](https://github.com/horizon-rust/horizon/commit/33f9f5a5ef6443fe3959b4eea9460ab232a53efe) Combine foreground terrain controls and validate collector experiments - [`6f73ac2`](https://github.com/horizon-rust/horizon/commit/6f73ac2436d1b1abfff8e16bb1c5579f68e15c65) Record exact combined OpenGL and Vulkan world validations ### 📊 Changes **20 files changed** (+225 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+2 -0) 📝 `README.md` (+9 -2) ➕ `docs/collectors.md` (+49 -0) 📝 `docs/compact-headers.md` (+1 -1) ➕ `docs/foreground-first.md` (+30 -0) 📝 `docs/playable-validation.md` (+36 -1) 📝 `docs/process-memory.md` (+5 -0) 📝 `docs/server-quickstart.txt` (+5 -0) ➕ `docs/vulkan.md` (+32 -0) 📝 `mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java` (+2 -0) 📝 `mods/horizon-lab/src/main/resources/fabric.mod.json` (+1 -1) 📝 `packs/START-HERE.txt` (+8 -0) 📝 `packs/mods.lock.json` (+1 -1) 📝 `tests/test_packs.py` (+14 -1) 📝 `tools/Compare-Benchmarks.html` (+5 -0) 📝 `tools/build_mod.py` (+2 -0) 📝 `tools/build_pack.py` (+3 -1) 📝 `tools/runtime.py` (+11 -1) 📝 `tools/server.py` (+2 -1) 📝 `tools/test_jfr.py` (+7 -3) </details> ### 📄 Description The terrain controls can now be tested together without manually editing four configuration files. Adds `foreground-first` and `foreground-vulkan` profiles with balanced distances/mods, all four controls enabled, and a captured 120 FPS adaptive goal. The goal governs background duty cycle; pack rendering remains uncapped and normal simulation stays at 12 chunks. Isolated profiles stay available. Adds explicit per-process G1/ZGC selection to demo/server launchers, checks metrics and JFR event interpretation under ZGC, clarifies that collector MXBean collection time is not a pause total, and distinguishes the game’s uncapped framerate option from a numeric cap in reports/viewer. Documents Prism override checkboxes, collector comparisons and the verified bundled Mac ARM64 MoltenVK route. Records the exact v0.10.0 game validation. Validation: 22 Python checks; original mod/metrics/native-memory tests including ZGC with compact headers; the JFR fixture independently checked against the JDK exporter under ZGC. The exact candidate JAR completed both 120-second Linux world captures: OpenGL 640 frame intervals / 2,401 server ticks; Vulkan 618 frame intervals / 2,413 ticks. CSV counts/means match JSON, each report has 120 RSS samples, all hook flags are enabled, the adaptive goal is 120 and rendering is uncapped. Actual view/simulation distances remain 12/12. Both worlds, databases and workers close cleanly. The offline viewer displays these actual settings. CI passes on Windows/Linux/ARM macOS, including ZGC fixtures on each and the real-client applied-hook test on Linux. No M2 performance winner, whole-game RAM improvement or universal GPU compatibility claim is made. Prepares v0.11.0 with fourteen portable profiles. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:54:28 +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#2263
No description provided.