[PR #23] [MERGED] Add a full-detail core performance profile for vanilla comparisons #2272

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

📋 Pull Request Information

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

Base: main ← Head: core-performance-profile


📝 Commits (4)

  • 470022f Add core performance profile for matched view-distance comparisons
  • 2a268fe Merge remote-tracking branch 'origin/main' into core-performance-profile
  • b782ade Merge remote-tracking branch 'origin/main' into core-performance-profile
  • bd20994 Record matched core client observations and validation limits

📊 Changes

8 files changed (+395 additions, -4 deletions)

View changed files

📝 README.md (+11 -2)
➕ benchmarks/core-client-2026-10-04/live-observations.json (+303 -0)
➕ docs/core-performance.md (+55 -0)
📝 mods/horizon-lab/src/main/resources/fabric.mod.json (+1 -1)
📝 packs/START-HERE.txt (+7 -0)
📝 packs/mods.lock.json (+1 -1)
📝 tests/test_packs.py (+16 -0)
📝 tools/build_pack.py (+1 -0)

📄 Description

The balanced client adds 128 chunks of distant terrain, while the vanilla baseline has none. Comparing their FPS alone mixes core-mod performance with additional rendering and generation work.

Add core-performance: the pinned core performance mods at the same 12 full-detail chunks, 12 simulation chunks, heap suggestion, graphics preset and backend as baseline, with no distant LOD, shaders or original experimental controllers. The balanced pack remains available for its additional distant view. The starter and README explain which comparison answers which question. Increment the pack/mod metadata to 0.19.0 for the new distributable profile; rendering and controller code retain their behavior.

Validation: 41 offline checks pass, including exact packaged configuration equality apart from the profile label, exact dependency closure and absence of DH/Iris. Windows, macOS ARM, Linux and verify checks pass on implementation source 2a268fefbf (run 37179596850); the independent Linux production JAR matches locally byte-for-byte.

A stationary matched-settings pair from separate private noon/clear-weather world copies records 651 vanilla/785 core frames over approximately 120 seconds, with zero exclusions/drops and matching CSV counts/means and first saved cameras. It observes about 20.7% higher average FPS and 22.2% lower sampled peak RSS with core. Process CPU is slightly higher while more frames are rendered. Tick execution durations are lower; preceding JFR GC pauses are higher. Both clients save and exit with code zero, and the core world reloads and saves again with the private clock/rules retained. All original controllers are off. Actual desktop/mobile JSON/CSV viewer checks pass and flag added mod versions explicitly. Selected observations retain source/protocol limits; no private worlds/logs/JFR files are published.

This is one fixed-order Linux software-rendered group comparison, not statistical proof, a per-mod attribution, pixel equivalence, exhaustive vanilla gameplay equivalence or an M2/hardware GPU result. Entity activity, work completion, cache/JIT and thermal state remain variables. Starter packs keep normal world rules; only the private test copies freeze time/weather. Final source bd20994266 passes all four jobs in run 37182418435; its independently built Linux JAR matches the tested local artifact byte-for-byte.


🔄 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/23 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/4/2026 **Status:** ✅ Merged **Merged:** 10/4/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `core-performance-profile` --- ### 📝 Commits (4) - [`470022f`](https://github.com/horizon-rust/horizon/commit/470022f10b60b25a5ef417fc6e5ea19662b8a833) Add core performance profile for matched view-distance comparisons - [`2a268fe`](https://github.com/horizon-rust/horizon/commit/2a268fefbf0ab3d478ca7755e609f7146d6f5145) Merge remote-tracking branch 'origin/main' into core-performance-profile - [`b782ade`](https://github.com/horizon-rust/horizon/commit/b782adeb558e50fb0559effad5d2eceddc994b97) Merge remote-tracking branch 'origin/main' into core-performance-profile - [`bd20994`](https://github.com/horizon-rust/horizon/commit/bd20994266f02b2e9ab12ab6544cfbf2242e1f45) Record matched core client observations and validation limits ### 📊 Changes **8 files changed** (+395 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+11 -2) ➕ `benchmarks/core-client-2026-10-04/live-observations.json` (+303 -0) ➕ `docs/core-performance.md` (+55 -0) 📝 `mods/horizon-lab/src/main/resources/fabric.mod.json` (+1 -1) 📝 `packs/START-HERE.txt` (+7 -0) 📝 `packs/mods.lock.json` (+1 -1) 📝 `tests/test_packs.py` (+16 -0) 📝 `tools/build_pack.py` (+1 -0) </details> ### 📄 Description The balanced client adds 128 chunks of distant terrain, while the vanilla baseline has none. Comparing their FPS alone mixes core-mod performance with additional rendering and generation work. Add `core-performance`: the pinned core performance mods at the same 12 full-detail chunks, 12 simulation chunks, heap suggestion, graphics preset and backend as baseline, with no distant LOD, shaders or original experimental controllers. The balanced pack remains available for its additional distant view. The starter and README explain which comparison answers which question. Increment the pack/mod metadata to 0.19.0 for the new distributable profile; rendering and controller code retain their behavior. Validation: 41 offline checks pass, including exact packaged configuration equality apart from the profile label, exact dependency closure and absence of DH/Iris. Windows, macOS ARM, Linux and verify checks pass on implementation source 2a268fefbf0ab3d478ca7755e609f7146d6f5145 (run 37179596850); the independent Linux production JAR matches locally byte-for-byte. A stationary matched-settings pair from separate private noon/clear-weather world copies records 651 vanilla/785 core frames over approximately 120 seconds, with zero exclusions/drops and matching CSV counts/means and first saved cameras. It observes about 20.7% higher average FPS and 22.2% lower sampled peak RSS with core. Process CPU is slightly higher while more frames are rendered. Tick execution durations are lower; preceding JFR GC pauses are higher. Both clients save and exit with code zero, and the core world reloads and saves again with the private clock/rules retained. All original controllers are off. Actual desktop/mobile JSON/CSV viewer checks pass and flag added mod versions explicitly. Selected observations retain source/protocol limits; no private worlds/logs/JFR files are published. This is one fixed-order Linux software-rendered group comparison, not statistical proof, a per-mod attribution, pixel equivalence, exhaustive vanilla gameplay equivalence or an M2/hardware GPU result. Entity activity, work completion, cache/JIT and thermal state remain variables. Starter packs keep normal world rules; only the private test copies freeze time/weather. Final source bd20994266f02b2e9ab12ab6544cfbf2242e1f45 passes all four jobs in [run 37182418435](https://github.com/ludovic111/minecraft-optimization-lab/actions/runs/37182418435); its independently built Linux JAR matches the tested local artifact byte-for-byte. --- <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:32 +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#2272
No description provided.