[PR #1558] [MERGED] Retire the legacy Java optimization mod and performance packs #3587

Closed
opened 2026-11-03 04:10:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: t3/retire-java-optimization-mod


📝 Commits (5)

  • 06ec15f Retire the legacy Java optimization mod and performance packs
  • 68bc9f8 Remove documentation of the retired Java product
  • d49b0eb Name the profiling documentation for its current use
  • a3b4ed5 runtime.py: two blank lines between functions
  • ccb8272 Merge remote-tracking branch 'origin/main' into pa1/gate-1558

📊 Changes

106 files changed (+85 additions, -6785 deletions)

View changed files

📝 .github/workflows/ci.yml (+1 -95)
📝 benchmarks/server-four-way-2026-10-19/README.md (+2 -2)
📝 docs/README.md (+2 -2)
📝 docs/architecture.md (+1 -1)
📝 docs/benchmark.md (+1 -1)
➖ docs/collectors.md (+0 -48)
📝 docs/performance/java-perf-mods.md (+1 -1)
➖ docs/process-memory.md (+0 -53)
📝 docs/profiling.md (+4 -12)
📝 docs/research/java-mod-compat.md (+2 -4)
📝 docs/rust-parity.md (+0 -1)
📝 docs/server.md (+2 -3)
➖ docs/tick-state.md (+0 -26)
➖ docs/vulkan.md (+0 -32)
➖ mods/horizon/src/main/java/dev/horizonlab/HorizonLab.java (+0 -78)
➖ mods/horizon/src/main/java/dev/horizonlab/budget/DebounceWait.java (+0 -14)
➖ mods/horizon/src/main/java/dev/horizonlab/budget/DispatchRetry.java (+0 -14)
➖ mods/horizon/src/main/java/dev/horizonlab/budget/TerrainBudget.java (+0 -38)
➖ mods/horizon/src/main/java/dev/horizonlab/budget/TerrainReadWait.java (+0 -27)
➖ mods/horizon/src/main/java/dev/horizonlab/budget/WakeableIdleWait.java (+0 -15)

...and 80 more files

📄 Description

🤖 Opened by rdbtCVS's AI agent (OpenAI Codex), not by rdbtCVS himself.

What and why

Retire the older Fabric optimization mod and modpack product. Its experimental Distant Horizons/culling patches optimize Java Minecraft and are not used by the Rust game, but still carry their own builds, packaging and checks.

  • Remove mods/horizon/src/main/, its product-specific Java fixtures/tests, pack profiles, Mac starter, builders, benchmark viewer/comparer and the product CI steps.
  • Preserve every parity oracle under mods/horizon/src/test/java/dev/horizonlab/parity/, plus the Fabric/NeoForge benchmark and oracle source sets.
  • Keep Rust-vs-Java comparison benchmarks working: move the Fabric/performance-mod locks to tools/benchmark-deps/, retain only the mods those benchmarks consume, and preserve their exact pins. Keep shared JVM/platform helpers, their tests and standalone JFR checks.
  • Remove the legacy product documentation and historical references; update active benchmark references.

This is one product retirement, mostly deletions; splitting the sources, builders and CI removal would leave broken intermediate states. There are no Rust gameplay changes.

Vanilla reference

None: product retirement and developer tooling. Existing vanilla parity oracles are unchanged.

Self-check

pr_ready (tools/pr_ready.py on archlinux, against origin/main at 535f2d2a0, 19 s)

Check Result
Scope ⚠️ 109 files, +219 −7267; 3640 lines of code: over 500, split it if it can ship in parts; mixes CI, game
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 250 passed (19 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses
Label skip-release

Additional checks: git diff --check; Python compilation and --help for both benchmark CLIs; compared all retained mod/Fabric pins with the originals and confirmed the parity/benchmark Java source sets have no changes. No game processes were started. Full parity and live Java comparison runs need vanilla data, which is unavailable in this checkout.

🤖 Generated with OpenAI Codex.


🔄 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/1558 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3/retire-java-optimization-mod` --- ### 📝 Commits (5) - [`06ec15f`](https://github.com/horizon-rust/horizon/commit/06ec15f3a00ca5135874eb5cc1bc79ba12f84905) Retire the legacy Java optimization mod and performance packs - [`68bc9f8`](https://github.com/horizon-rust/horizon/commit/68bc9f82b6daece29607daa16719a1eb00320293) Remove documentation of the retired Java product - [`d49b0eb`](https://github.com/horizon-rust/horizon/commit/d49b0eb98bf06aa90d0bdd5fd985d7000ec1f68b) Name the profiling documentation for its current use - [`a3b4ed5`](https://github.com/horizon-rust/horizon/commit/a3b4ed57b2483aa3e7fe9ffd9d0060e86e6cb7a1) runtime.py: two blank lines between functions - [`ccb8272`](https://github.com/horizon-rust/horizon/commit/ccb827282b25d0b4e3f10529017c3123e124f4ef) Merge remote-tracking branch 'origin/main' into pa1/gate-1558 ### 📊 Changes **106 files changed** (+85 additions, -6785 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+1 -95) 📝 `benchmarks/server-four-way-2026-10-19/README.md` (+2 -2) 📝 `docs/README.md` (+2 -2) 📝 `docs/architecture.md` (+1 -1) 📝 `docs/benchmark.md` (+1 -1) ➖ `docs/collectors.md` (+0 -48) 📝 `docs/performance/java-perf-mods.md` (+1 -1) ➖ `docs/process-memory.md` (+0 -53) 📝 `docs/profiling.md` (+4 -12) 📝 `docs/research/java-mod-compat.md` (+2 -4) 📝 `docs/rust-parity.md` (+0 -1) 📝 `docs/server.md` (+2 -3) ➖ `docs/tick-state.md` (+0 -26) ➖ `docs/vulkan.md` (+0 -32) ➖ `mods/horizon/src/main/java/dev/horizonlab/HorizonLab.java` (+0 -78) ➖ `mods/horizon/src/main/java/dev/horizonlab/budget/DebounceWait.java` (+0 -14) ➖ `mods/horizon/src/main/java/dev/horizonlab/budget/DispatchRetry.java` (+0 -14) ➖ `mods/horizon/src/main/java/dev/horizonlab/budget/TerrainBudget.java` (+0 -38) ➖ `mods/horizon/src/main/java/dev/horizonlab/budget/TerrainReadWait.java` (+0 -27) ➖ `mods/horizon/src/main/java/dev/horizonlab/budget/WakeableIdleWait.java` (+0 -15) _...and 80 more files_ </details> ### 📄 Description > 🤖 Opened by rdbtCVS's AI agent (OpenAI Codex), not by rdbtCVS himself. ## What and why Retire the older Fabric optimization mod and modpack product. Its experimental Distant Horizons/culling patches optimize Java Minecraft and are not used by the Rust game, but still carry their own builds, packaging and checks. - Remove `mods/horizon/src/main/`, its product-specific Java fixtures/tests, pack profiles, Mac starter, builders, benchmark viewer/comparer and the product CI steps. - Preserve every parity oracle under `mods/horizon/src/test/java/dev/horizonlab/parity/`, plus the Fabric/NeoForge benchmark and oracle source sets. - Keep Rust-vs-Java comparison benchmarks working: move the Fabric/performance-mod locks to `tools/benchmark-deps/`, retain only the mods those benchmarks consume, and preserve their exact pins. Keep shared JVM/platform helpers, their tests and standalone JFR checks. - Remove the legacy product documentation and historical references; update active benchmark references. This is one product retirement, mostly deletions; splitting the sources, builders and CI removal would leave broken intermediate states. There are no Rust gameplay changes. ## Vanilla reference None: product retirement and developer tooling. Existing vanilla parity oracles are unchanged. ## Self-check **pr_ready** (`tools/pr_ready.py` on archlinux, against origin/main at 535f2d2a0, 19 s) | Check | Result | | --- | --- | | Scope | ⚠️ 109 files, +219 −7267; 3640 lines of code: over 500, split it if it can ship in parts; mixes CI, game | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 250 passed (19 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses | | Label | `skip-release` | Additional checks: `git diff --check`; Python compilation and `--help` for both benchmark CLIs; compared all retained mod/Fabric pins with the originals and confirmed the parity/benchmark Java source sets have no changes. No game processes were started. Full parity and live Java comparison runs need vanilla data, which is unavailable in this checkout. 🤖 Generated with [OpenAI Codex](https://openai.com/codex/). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:10:37 +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#3587
No description provided.