[GH-ISSUE #1711] Benchmark: Horizon v0.2.50 vs vanilla 26.3 on an Apple M3 MacBook Air (macOS 26.2) #525

Closed
opened 2026-11-02 15:39:45 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Louistuis on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1711

Originally assigned to: @hello23113 on GitHub.

I ran tools/perf_bench.py (docs/benchmark.md) as a player on a laptop and wanted to share the numbers, plus a few things I hit on the way.

Machine: MacBook Air, Apple M3 (8 threads, 16 GB), macOS 26.2, on AC power. Horizon v0.2.50 installed with the launcher (0.2.5). Vanilla 26.3 through the benchmark's Fabric driver, Java 25, -Xmx2G (the vanilla backend on this Mac was OpenGL). Window size 1920x1080, seed 1234, render distances 8 and 16, only 2 repeats per game (--repeats 2), 4 scenes.

Important: this is not a like-for-like presentation comparison. In a normal window Horizon was capped at about 60 FPS on this Mac (see "Findings" below), so the Horizon numbers here come from --offscreen (renders without presenting). Vanilla ran in a real window with VSync off. So the table shows render throughput, not what a player sees on a 60 Hz screen.

Average / 1% low / 0.1% low FPS (means of 2 runs)

RD scene Horizon (offscreen) vanilla 26.3
8 forest 211 / 17 / 8 79 / 29 / 21
8 mountain 240 / 18 / 9 126 / 35 / 25
8 ocean 245 / 24 / 11 68 / 22 / 13
8 village 466 / 38 / 14 94 / 33 / 18
16 forest 189 / 79 / 71 36 / 17 / 11
16 mountain 202 / 66 / 35 38 / 16 / 10
16 ocean 229 / 91 / 74 38 / 19 / 15
16 village 302 / 92 / 49 51 / 21 / 18

Startup, loading and memory (means of 2 runs)

RD Horizon vanilla 26.3
8 start to title / in-world 3.8 s / 47.4 s 8.7 s / 21.0 s
8 mean scene chunk load 24.4 s 13.9 s
8 RSS steady / peak 419 / 670 MB 1291 / 1532 MB
16 start to title / in-world 3.5 s / 56.0 s 11.1 s / 60.4 s
16 mean scene chunk load 41.4 s 29.0 s
16 RSS steady / peak 566 / 804 MB 1702 / 1877 MB

How far to trust this

  • n=2, so the confidence intervals are very wide (the driver's own 95% intervals on the averages are bigger than the means in several rows). Treat it as an order of magnitude, not a ranking of scenes.
  • The load average was high during the runs (about 3.5 and 20 for Horizon, 27 to 28 for vanilla, 1 minute), so this was not a quiet machine.
  • Horizon's runs differ a lot from each other at RD 16: run 1 had p99 frame times of 38 to 71 ms (1% lows 10 to 14 FPS), run 2 had p99 of 4 to 7 ms (1% lows 120 to 170 FPS). At RD 8 Horizon's 1% lows (17 to 38 FPS) are not better than vanilla's (22 to 35 FPS), even though its averages are 2 to 5 times higher.
  • Horizon was clearly slower than vanilla at loading chunks around the camera in the scenes (24 s vs 14 s mean at RD 8, 41 s vs 29 s at RD 16) and at world creation at RD 8 (47 s vs 21 s).

Findings along the way

  1. Windowed Horizon is capped at ~60 FPS on macOS. The log says configuring the surface (2940x1622 Bgra8Unorm, Fifo) even though the driver writes enableVsync:false to options.txt. In a first windowed run at RD 8 the scenes averaged 50 to 70 FPS with p50 frame times of 16.2 to 16.9 ms. So with VSync off the game still seems to present with Fifo on Metal. (That first run's results were lost, see 2, so those numbers are from the console only.)
  2. perf_bench.py fails when run from the launcher's install folder. The release folder has no crates/horizon-client/Cargo.toml, so app() raises FileNotFoundError after the whole Horizon run finished, before writing its report, and the results of the run are lost. The vanilla game also needs mods/horizon/src/bench, which is not in the release folder either (javac fails with "no source files"). I copied both from the v0.2.50 tag to get it working. Shipping them in the release folder (or reading the version from somewhere that is shipped) would let players run the benchmark as the docs suggest.
  3. Separately: the integrated server panics with a broken stdout pipe when the launcher has exited (#1705).

Raw reports (the benchmark's own JSON) can be attached if useful.

Originally created by @Louistuis on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1711 Originally assigned to: @hello23113 on GitHub. I ran `tools/perf_bench.py` (docs/benchmark.md) as a player on a laptop and wanted to share the numbers, plus a few things I hit on the way. **Machine:** MacBook Air, Apple M3 (8 threads, 16 GB), macOS 26.2, on AC power. Horizon v0.2.50 installed with the launcher (0.2.5). Vanilla 26.3 through the benchmark's Fabric driver, Java 25, `-Xmx2G` (the vanilla backend on this Mac was OpenGL). Window size 1920x1080, seed 1234, render distances 8 and 16, **only 2 repeats per game** (`--repeats 2`), 4 scenes. **Important: this is not a like-for-like presentation comparison.** In a normal window Horizon was capped at about 60 FPS on this Mac (see "Findings" below), so the Horizon numbers here come from `--offscreen` (renders without presenting). Vanilla ran in a real window with VSync off. So the table shows render throughput, not what a player sees on a 60 Hz screen. ### Average / 1% low / 0.1% low FPS (means of 2 runs) | RD | scene | Horizon (offscreen) | vanilla 26.3 | | --- | --- | --- | --- | | 8 | forest | 211 / 17 / 8 | 79 / 29 / 21 | | 8 | mountain | 240 / 18 / 9 | 126 / 35 / 25 | | 8 | ocean | 245 / 24 / 11 | 68 / 22 / 13 | | 8 | village | 466 / 38 / 14 | 94 / 33 / 18 | | 16 | forest | 189 / 79 / 71 | 36 / 17 / 11 | | 16 | mountain | 202 / 66 / 35 | 38 / 16 / 10 | | 16 | ocean | 229 / 91 / 74 | 38 / 19 / 15 | | 16 | village | 302 / 92 / 49 | 51 / 21 / 18 | ### Startup, loading and memory (means of 2 runs) | RD | | Horizon | vanilla 26.3 | | --- | --- | --- | --- | | 8 | start to title / in-world | 3.8 s / 47.4 s | 8.7 s / 21.0 s | | 8 | mean scene chunk load | 24.4 s | 13.9 s | | 8 | RSS steady / peak | 419 / 670 MB | 1291 / 1532 MB | | 16 | start to title / in-world | 3.5 s / 56.0 s | 11.1 s / 60.4 s | | 16 | mean scene chunk load | 41.4 s | 29.0 s | | 16 | RSS steady / peak | 566 / 804 MB | 1702 / 1877 MB | ### How far to trust this - n=2, so the confidence intervals are very wide (the driver's own 95% intervals on the averages are bigger than the means in several rows). Treat it as an order of magnitude, not a ranking of scenes. - The load average was high during the runs (about 3.5 and 20 for Horizon, 27 to 28 for vanilla, 1 minute), so this was not a quiet machine. - Horizon's runs differ a lot from each other at RD 16: run 1 had p99 frame times of 38 to 71 ms (1% lows 10 to 14 FPS), run 2 had p99 of 4 to 7 ms (1% lows 120 to 170 FPS). At RD 8 Horizon's 1% lows (17 to 38 FPS) are not better than vanilla's (22 to 35 FPS), even though its averages are 2 to 5 times higher. - Horizon was clearly slower than vanilla at loading chunks around the camera in the scenes (24 s vs 14 s mean at RD 8, 41 s vs 29 s at RD 16) and at world creation at RD 8 (47 s vs 21 s). ### Findings along the way 1. **Windowed Horizon is capped at ~60 FPS on macOS.** The log says `configuring the surface (2940x1622 Bgra8Unorm, Fifo)` even though the driver writes `enableVsync:false` to options.txt. In a first windowed run at RD 8 the scenes averaged 50 to 70 FPS with p50 frame times of 16.2 to 16.9 ms. So with VSync off the game still seems to present with Fifo on Metal. (That first run's results were lost, see 2, so those numbers are from the console only.) 2. **`perf_bench.py` fails when run from the launcher's install folder.** The release folder has no `crates/horizon-client/Cargo.toml`, so `app()` raises `FileNotFoundError` after the whole Horizon run finished, before writing its report, and the results of the run are lost. The vanilla game also needs `mods/horizon/src/bench`, which is not in the release folder either (javac fails with "no source files"). I copied both from the v0.2.50 tag to get it working. Shipping them in the release folder (or reading the version from somewhere that is shipped) would let players run the benchmark as the docs suggest. 3. Separately: the integrated server panics with a broken stdout pipe when the launcher has exited (#1705). Raw reports (the benchmark's own JSON) can be attached if useful.
Author
Owner

@socksprox commented on GitHub (Oct 25, 2026):

I would be curious on the FPS diff of Horizon vs Java with perfomance mods, this would show largely the actual rust difference

<!-- gh-comment-id:6398513238 --> @socksprox commented on GitHub (Oct 25, 2026): I would be curious on the FPS diff of Horizon vs Java with perfomance mods, this would show largely the actual rust difference
Author
Owner

@hello23113 commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6535255512 --> @hello23113 commented on GitHub (Oct 30, 2026): /claim
Author
Owner

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

cool?

<!-- gh-comment-id:6537218009 --> @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#525
No description provided.