@@ -6,7 +6,7 @@ Client-first performance research for Minecraft Java **26.3**, preserving vanill
## Play on your Mac
Download **horizon-mac-starter-0.3.0.zip** from [Releases](https://github.com/ludovic111/minecraft-optimization-lab/releases), extract it and open `Mac-Start.command`. It verifies and installs official universal Prism Launcher in `~/Applications` if needed, then opens the balanced pack import. Sign into Microsoft **inside Prism yourself**. This project needs no credentials.
Download **horizon-mac-starter-0.5.0.zip** from [Releases](https://github.com/ludovic111/minecraft-optimization-lab/releases), extract it and open `Mac-Start.command`. It verifies and installs official universal Prism Launcher in `~/Applications` if needed, then opens the balanced pack import. Sign into Microsoft **inside Prism yourself**. This project needs no credentials.
Use native **Java 25 ARM64**, maximum heap **6144 MiB**, minimum **512 MiB** on your 16 GB M2 Pro. Prism can download Java automatically. Start at 1280×800 or 1920×1200; full Retina resolution is a larger GPU workload. [START-HERE.txt](packs/START-HERE.txt) has details. The same `.mrpack` files import into Prism on Windows and Linux.
@@ -47,6 +47,8 @@ The instance's `horizon-benchmarks/` folder receives JSON/CSV frame and integrat
Open `Compare-Benchmarks.html` from the starter ZIP or [the source file](tools/Compare-Benchmarks.html) in your browser to compare without Python. Select each JSON and optionally its matching CSV. It exports summary JSON, flags settings and duration differences, and charts frames by recorded active time or ticks by sample number. It is self-contained and makes no network requests.
The comparison flags captured setting differences, but cannot verify route, world, shader state or cache warm-up. See [validation evidence](docs/playable-validation.md). Software-renderer test FPS is not evidence of a Mac/GPU speedup.
<header><divclass="brand"><spanclass="mark"aria-hidden="true"></span>Horizon Lab</div><spanclass="badge">Offline · files stay on your device</span></header>
<h1>Compare your runs.</h1>
<pclass="intro">Choose two Horizon benchmark JSON files from your instance’s <strong>horizon-benchmarks</strong> folder. Add each matching CSV to see frame spikes. Compare frames with frames, or server ticks with server ticks.</p>
<divclass="uploads">
<sectionclass="card"aria-labelledby="baselineTitle"><divclass="card-top"><spanclass="dot"aria-hidden="true"></span><h2id="baselineTitle">Baseline</h2></div><p>Vanilla or your previous configuration.</p><inputid="baselineFiles"type="file"multipleaccept=".json,.csv"aria-label="Choose baseline JSON and optional CSV"><divid="baselineStatus"class="status"role="status">No report selected.</div><dlid="baselineDetails"class="details"></dl></section>
<sectionclass="card candidate"aria-labelledby="candidateTitle"><divclass="card-top"><spanclass="dot"aria-hidden="true"></span><h2id="candidateTitle">Candidate</h2></div><p>The configuration you want to evaluate.</p><inputid="candidateFiles"type="file"multipleaccept=".json,.csv"aria-label="Choose candidate JSON and optional CSV"><divid="candidateStatus"class="status"role="status">No report selected.</div><dlid="candidateDetails"class="details"></dl></section>
</div>
<divid="empty"class="empty"><strong>Your measurements go here.</strong><p>Record with F8 in the game. Keep the world, route, graphics settings and warm-up consistent.</p></div>
<pclass="footnote">Changes are candidate versus baseline. Higher FPS is better; lower frame/tick duration, memory and CPU use is usually better. Check workload differences before attributing any change to an optimization.</p>
<sectionid="chartSection"class="section hidden"><divclass="chart"><divclass="chart-tools"><h2id="chartTitle">Frame pacing</h2><label><inputid="logScale"type="checkbox"checked> Log scale</label></div><divclass="legend"><span><iclass="dot"></i>Baseline</span><span><iclass="dot"style="background:var(--candidate)"></i>Candidate</span></div><svgid="timeline"viewBox="0 0 960 300"role="img"aria-label="Recorded duration timeline"></svg><divid="chartInfo"class="chart-info">Move over the chart to inspect a time bucket.</div><pid="chartNote"class="footnote"></p></div></section>
<pid="csvHint"class="footnote"></p>
</section>
<footer>No installation, account or network access is needed. Repeat at least three matched runs and test fresh terrain separately from a warm cache. JVM memory excludes some native and GPU allocations.</footer>
if(!report||report.schema!==1||!['frames','ticks'].includes(report.kind))throwError('Choose a Horizon frame or server-tick JSON report.');
if(!report.stats||!Number.isInteger(report.stats.count)||report.stats.count<1||report.stats.count>300000)throwError('This report has no valid sample count. Record focused gameplay with F8 first.');
constwarnings=['World, camera route, shaders and terrain-cache warm-up still need to match. These are not verified by the captured settings.'];
if(Math.abs(a.elapsed_seconds-b.elapsed_seconds)>Math.max(2,Math.min(a.elapsed_seconds,b.elapsed_seconds)*.1))warnings.push('Recording durations differ. Match durations when comparing memory peaks and collection totals.');
if(r.elapsed_seconds<60)warnings.push(label+' recording is shorter than 60 seconds. Use longer repeated runs.');
if(r.dropped_samples)warnings.push(label+' exceeded the recording buffer; '+r.dropped_samples+' samples were dropped.');
if(r.kind==='frames'&&r.excluded_frames)warnings.push(label+' excluded '+r.excluded_frames+' menu, paused or unfocused frame starts. Process CPU still spans the whole recording.');
rows.push({label:'GC collection time / second',key:'gc_collection_ms_per_second',unit:'ms/s',baseline:av,candidate:bv,change_percent:av?100*(bv/av-1):null});
}
warnings.push('Memory peaks are sampled and can miss short spikes. Heap/nonheap are not process RSS or GPU memory. CPU includes all Java threads and the integrated server.');
constnotice=$('notices');notice.replaceChildren(text('strong',comparison.differences.length?'Captured settings differ — check the workload.':'Captured settings match. Check the route and warm-up too.'));
$('chartTitle').textContent=ticks?'Tick durations by sample':'Frame pacing';
$('chartNote').textContent='Each point preserves the longest duration in its bucket. '+(ticks?'Ticks are placed by sample number. Scheduler sleep and pauses are not represented as durations.':'Frames use recorded active time; menus and unfocused intervals are omitted. This is not GPU execution time.');
warnings.append(f"{name} exceeded the recording buffer: {report['dropped_samples']} dropped samples.")
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.