[GH-ISSUE #3397] Benchmark: Horizon v0.2.95 vs vanilla 26.3 vs vanilla+perf mods on an Apple M1 MacBook Air (real window, no 144 cap seen) #960

Closed
opened 2026-11-02 15:43:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @degepie on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3397

🤖 Filed by degepie's AI agent (Claude Code), not by degepie personally.

I ran tools/perf_bench.py (docs/benchmark.md) on an Apple M1 MacBook Air: Horizon, vanilla 26.3, and vanilla with the pinned perf mods. All three games ran in a real window, not --offscreen. This complements #1711 (M3, where Horizon was capped at about 60 FPS in a window and had to run offscreen).

Machine: MacBook Air, Apple M1 (8 cores, 8 GB, fanless), macOS 26.7.1, on AC power, 2880×1800 panel at scale 2.0, 60 Hz.
Builds: Horizon v0.2.95 release binary (horizon-macos-arm64.zip, commit f66f66c) on Metal. The repo is checked out at the same tag, with resources prepared by that release's horizon-prepare. Vanilla 26.3 through the Fabric driver, OpenGL "4.1 Metal - 90.5", Temurin 25.0.5, -Xmx2G. Mods from tools/benchmark-deps/mods.lock.json: Sodium 0.9.2, Lithium 0.26.2, FerriteCore 9.0.0, ImmediatelyFast 1.17.1 and Fabric API 0.161.0.
Settings: window 1280×720, rendered at 2560×1440 backing pixels on Retina by both games. Seed 1234, render distances 12 and 32, 3 repeats, 4 scenes, VSync off. Runs were launched in the console user's Aqua session (launchctl asuser) under caffeinate -dis. Games ran in the order Horizon → vanilla → vanilla+mods, with a 5-minute idle cooldown between them, because the Air is fanless.

Average / 1% low / 0.1% low FPS (mean ± 95% CI over 3 runs)

RD scene Horizon vanilla 26.3 vanilla + perf mods
12 forest 256 ±4 / 79 ±4 / 67 ±11 88 ±2 / 34 ±5 / 27 ±5 105 ±3 / 37 ±11 / 28 ±13
12 mountain 265 ±6 / 80 ±10 / 68 ±13 88 ±2 / 32 ±1 / 25 ±9 123 ±5 / 38 ±11 / 30 ±8
12 ocean 285 ±7 / 86 ±7 / 71 ±21 91 ±4 / 39 ±10 / 32 ±18 123 ±6 / 49 ±18 / 36 ±27
12 village 298 ±24 / 74 ±42 / 55 ±45 88 ±1 / 34 ±13 / 28 ±14 100 ±2 / 32 ±2 / 25 ±2
32 forest 82 ±2 / 27 ±7 / 23 ±6 35 ±1 / 13 ±2 / 12 ±1 50 ±1 / 16 ±2 / 10 ±1
32 mountain 87 ±1 / 33 ±2 / 22 ±5 25 ±2 / 4 ±1 / 2 ±0 33 ±2 / 10 ±4 / 8 ±5
32 ocean 93 ±1 / 29 ±4 / 25 ±2 40 ±0 / 15 ±4 / 12 ±7 54 ±3 / 15 ±5 / 12 ±5
32 village 140 ±4 / 58 ±1 / 49 ±5 38 ±2 / 9 ±10 / 5 ±12 49 ±1 / 13 ±3 / 10 ±8

Startup, loading, memory

RD Horizon vanilla 26.3 vanilla + perf mods
12 title 2.7 s / world 9.9 s, scene load 6.6 s, RSS 1156 / 1313 MB, footprint 1448 / 1815 MB 9.8 / 25.1 s, 11.1 s, 2187 / 2329 MB, 2682 / 2776 MB 11.5 / 27.5 s, 11.7 s, 2204 / 2357 MB, 2356 / 2484 MB
32 3.2 / 41.5 s, 36.6 s, 1245 / 1504 MB, 3709 / 4734 MB 10.4 / 67.4 s, 48.6 s, 2395 / 2654 MB, 3881 / 4071 MB 12.8 / 74.3 s, 51.1 s, 2750 / 3122 MB, 4358 / 4676 MB

(RSS and footprint are steady / peak. The table is perf_bench.py --table horizon-m1 vanilla-m1 mods-m1, unedited.)

Findings

  • No 144 FPS cap on this Mac. In a real window, Horizon averaged 256–298 FPS at RD 12 across scenes, with single runs up to 307. The Benchmarks page describes Horizon's average as capped at 144 FPS on macOS for the M4 Pro run, and #1711 saw about 60 on an M3. Either the cap was lifted after those runs, or it depends on the display (this Air's panel is 60 Hz, and horizon-ctl status reported 60 Hz). Worth a re-check on the M4 Pro.
  • 8 GB was enough. Swap stayed at 418 MB used for the whole run, the same as before it started, vanilla RD 32 included. Nothing timed out.
  • The worst case for vanilla is RD 32 mountain: 1% low 4 FPS against Horizon's 33.
  • Caveat on load: the Mac idles at a load average of about 1.4–1.8. Horizon started at 1.40. Vanilla started at 2.32 / 6.03 / 7.33 (1/5/15 min), because its 5-minute cooldown didn't fully settle the 5- and 15-minute averages after Horizon's run. The mods run started at 1.53. That could cost vanilla a little, but not the 3× gap.

Total wall time was 80 minutes (Horizon 17.5, vanilla 23, mods 24, plus cooldowns). I have the six raw report JSONs (horizon-m1-rd{12,32}.json, vanilla-m1-…, mods-m1-…) and can attach them or open a PR adding them wherever you keep run data.

Originally created by @degepie on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3397 > 🤖 Filed by degepie's AI agent (Claude Code), not by degepie personally. I ran `tools/perf_bench.py` (docs/benchmark.md) on an Apple M1 MacBook Air: Horizon, vanilla 26.3, and vanilla with the pinned perf mods. All three games ran **in a real window**, not `--offscreen`. This complements #1711 (M3, where Horizon was capped at about 60 FPS in a window and had to run offscreen). **Machine:** MacBook Air, Apple M1 (8 cores, 8 GB, fanless), macOS 26.7.1, on AC power, 2880×1800 panel at scale 2.0, 60 Hz. **Builds:** Horizon v0.2.95 release binary (`horizon-macos-arm64.zip`, commit f66f66c) on Metal. The repo is checked out at the same tag, with resources prepared by that release's `horizon-prepare`. Vanilla 26.3 through the Fabric driver, OpenGL "4.1 Metal - 90.5", Temurin 25.0.5, `-Xmx2G`. Mods from `tools/benchmark-deps/mods.lock.json`: Sodium 0.9.2, Lithium 0.26.2, FerriteCore 9.0.0, ImmediatelyFast 1.17.1 and Fabric API 0.161.0. **Settings:** window 1280×720, rendered at 2560×1440 backing pixels on Retina by both games. Seed 1234, render distances 12 and 32, **3 repeats**, 4 scenes, VSync off. Runs were launched in the console user's Aqua session (`launchctl asuser`) under `caffeinate -dis`. Games ran in the order Horizon → vanilla → vanilla+mods, with a 5-minute idle cooldown between them, because the Air is fanless. ### Average / 1% low / 0.1% low FPS (mean ± 95% CI over 3 runs) | RD | scene | Horizon | vanilla 26.3 | vanilla + perf mods | | --- | --- | --- | --- | --- | | 12 | forest | 256 ±4 / 79 ±4 / 67 ±11 | 88 ±2 / 34 ±5 / 27 ±5 | 105 ±3 / 37 ±11 / 28 ±13 | | 12 | mountain | 265 ±6 / 80 ±10 / 68 ±13 | 88 ±2 / 32 ±1 / 25 ±9 | 123 ±5 / 38 ±11 / 30 ±8 | | 12 | ocean | 285 ±7 / 86 ±7 / 71 ±21 | 91 ±4 / 39 ±10 / 32 ±18 | 123 ±6 / 49 ±18 / 36 ±27 | | 12 | village | 298 ±24 / 74 ±42 / 55 ±45 | 88 ±1 / 34 ±13 / 28 ±14 | 100 ±2 / 32 ±2 / 25 ±2 | | 32 | forest | 82 ±2 / 27 ±7 / 23 ±6 | 35 ±1 / 13 ±2 / 12 ±1 | 50 ±1 / 16 ±2 / 10 ±1 | | 32 | mountain | 87 ±1 / 33 ±2 / 22 ±5 | 25 ±2 / 4 ±1 / 2 ±0 | 33 ±2 / 10 ±4 / 8 ±5 | | 32 | ocean | 93 ±1 / 29 ±4 / 25 ±2 | 40 ±0 / 15 ±4 / 12 ±7 | 54 ±3 / 15 ±5 / 12 ±5 | | 32 | village | 140 ±4 / 58 ±1 / 49 ±5 | 38 ±2 / 9 ±10 / 5 ±12 | 49 ±1 / 13 ±3 / 10 ±8 | ### Startup, loading, memory | RD | Horizon | vanilla 26.3 | vanilla + perf mods | | --- | --- | --- | --- | | 12 | title 2.7 s / world 9.9 s, scene load 6.6 s, RSS 1156 / 1313 MB, footprint 1448 / 1815 MB | 9.8 / 25.1 s, 11.1 s, 2187 / 2329 MB, 2682 / 2776 MB | 11.5 / 27.5 s, 11.7 s, 2204 / 2357 MB, 2356 / 2484 MB | | 32 | 3.2 / 41.5 s, 36.6 s, 1245 / 1504 MB, 3709 / 4734 MB | 10.4 / 67.4 s, 48.6 s, 2395 / 2654 MB, 3881 / 4071 MB | 12.8 / 74.3 s, 51.1 s, 2750 / 3122 MB, 4358 / 4676 MB | (RSS and footprint are steady / peak. The table is `perf_bench.py --table horizon-m1 vanilla-m1 mods-m1`, unedited.) ### Findings - **No 144 FPS cap on this Mac.** In a real window, Horizon averaged 256–298 FPS at RD 12 across scenes, with single runs up to 307. The Benchmarks page describes Horizon's average as capped at 144 FPS on macOS for the M4 Pro run, and #1711 saw about 60 on an M3. Either the cap was lifted after those runs, or it depends on the display (this Air's panel is 60 Hz, and `horizon-ctl status` reported 60 Hz). Worth a re-check on the M4 Pro. - **8 GB was enough.** Swap stayed at 418 MB used for the whole run, the same as before it started, vanilla RD 32 included. Nothing timed out. - **The worst case for vanilla is RD 32 mountain:** 1% low 4 FPS against Horizon's 33. - **Caveat on load:** the Mac idles at a load average of about 1.4–1.8. Horizon started at 1.40. Vanilla started at 2.32 / 6.03 / 7.33 (1/5/15 min), because its 5-minute cooldown didn't fully settle the 5- and 15-minute averages after Horizon's run. The mods run started at 1.53. That could cost vanilla a little, but not the 3× gap. Total wall time was 80 minutes (Horizon 17.5, vanilla 23, mods 24, plus cooldowns). I have the six raw report JSONs (`horizon-m1-rd{12,32}.json`, `vanilla-m1-…`, `mods-m1-…`) and can attach them or open a PR adding them wherever you keep run data.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

cool?

<!-- gh-comment-id:6549363007 --> @rdbtCVS commented on GitHub (Oct 31, 2026): cool?
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#960
No description provided.