[PR #18] [MERGED] Show Java and mod version changes in benchmark comparisons #2266

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

📋 Pull Request Information

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

Base: main ← Head: benchmark-software-provenance


📝 Commits (2)

  • 110c75d Capture Java and loaded mod identity in client and server comparisons
  • 63438b4 Validate live client and tick software identity and bound expanded lists

📊 Changes

11 files changed (+278 additions, -7 deletions)

View changed files

📝 README.md (+9 -1)
➕ benchmarks/software-identity-2026-10-04/live-observations.json (+160 -0)
📝 mods/horizon-lab/src/main/java/dev/horizonlab/HorizonLab.java (+4 -1)
📝 mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java (+1 -3)
➕ mods/horizon-lab/src/main/java/dev/horizonlab/metrics/SoftwareContext.java (+21 -0)
📝 mods/horizon-lab/src/main/resources/fabric.mod.json (+1 -1)
📝 packs/START-HERE.txt (+3 -0)
📝 packs/mods.lock.json (+1 -1)
📝 tests/test_packs.py (+28 -0)
📝 tools/Compare-Benchmarks.html (+26 -0)
📝 tools/compare_benchmarks.py (+24 -0)

📄 Description

Client comparisons previously recorded loaded mod versions without displaying or comparing them, and tick reports omitted them. A mod upgrade or Java implementation change could therefore appear to be an optimization in otherwise matching reports.

Capture the Java vendor, VM name, runtime build and sorted loaded mod list once before both client and server recordings. Both offline comparison tools flag changed software as an explicit experiment variable and mark missing legacy identity as unknown. The browser viewer can expand the complete mod list and safely displays names as text. Gameplay, renderer settings and scheduling hooks retain their existing behavior.

Validation: 32 Python checks, original mod compilation and publisher adapter checks pass locally. Actual previous JSON/CSV files load in the viewer; synthetic software changes, escaped names and a 390px layout pass. Live client/tick report capture passes; Windows/macOS ARM/Linux CI passes on the final head. The independent Linux JAR matches the local binary byte-for-byte. An initial Linux dispatcher fixture attempt ended without a result; the rerun passed all checks.

The live 15-second functional capture produced 38 frame samples and 301 integrated-server tick samples, with zero exclusions or dropped samples and matching CSV counts. Both reports contain the same 59 loaded mod versions and actual Java vendor/VM/runtime build. The actual old/new pair displays the Horizon version change and unknown legacy Java identity. World save and shutdown completed without a crash report. These short observations are not performance evidence.


🔄 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/18 **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:** `benchmark-software-provenance` --- ### 📝 Commits (2) - [`110c75d`](https://github.com/horizon-rust/horizon/commit/110c75d712ed4827ae5e72c613f834bcc4e97da2) Capture Java and loaded mod identity in client and server comparisons - [`63438b4`](https://github.com/horizon-rust/horizon/commit/63438b4058b1fa3b9d142f66de24e0b9ad7db6d6) Validate live client and tick software identity and bound expanded lists ### 📊 Changes **11 files changed** (+278 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+9 -1) ➕ `benchmarks/software-identity-2026-10-04/live-observations.json` (+160 -0) 📝 `mods/horizon-lab/src/main/java/dev/horizonlab/HorizonLab.java` (+4 -1) 📝 `mods/horizon-lab/src/main/java/dev/horizonlab/client/HorizonClient.java` (+1 -3) ➕ `mods/horizon-lab/src/main/java/dev/horizonlab/metrics/SoftwareContext.java` (+21 -0) 📝 `mods/horizon-lab/src/main/resources/fabric.mod.json` (+1 -1) 📝 `packs/START-HERE.txt` (+3 -0) 📝 `packs/mods.lock.json` (+1 -1) 📝 `tests/test_packs.py` (+28 -0) 📝 `tools/Compare-Benchmarks.html` (+26 -0) 📝 `tools/compare_benchmarks.py` (+24 -0) </details> ### 📄 Description Client comparisons previously recorded loaded mod versions without displaying or comparing them, and tick reports omitted them. A mod upgrade or Java implementation change could therefore appear to be an optimization in otherwise matching reports. Capture the Java vendor, VM name, runtime build and sorted loaded mod list once before both client and server recordings. Both offline comparison tools flag changed software as an explicit experiment variable and mark missing legacy identity as unknown. The browser viewer can expand the complete mod list and safely displays names as text. Gameplay, renderer settings and scheduling hooks retain their existing behavior. Validation: 32 Python checks, original mod compilation and publisher adapter checks pass locally. Actual previous JSON/CSV files load in the viewer; synthetic software changes, escaped names and a 390px layout pass. Live client/tick report capture passes; Windows/macOS ARM/Linux CI passes on the final head. The independent Linux JAR matches the local binary byte-for-byte. An initial Linux dispatcher fixture attempt ended without a result; the rerun passed all checks. The live 15-second functional capture produced 38 frame samples and 301 integrated-server tick samples, with zero exclusions or dropped samples and matching CSV counts. Both reports contain the same 59 loaded mod versions and actual Java vendor/VM/runtime build. The actual old/new pair displays the Horizon version change and unknown legacy Java identity. World save and shutdown completed without a crash report. These short observations are not performance evidence. --- <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:30 +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#2266
No description provided.