[PR #902] [MERGED] Benchmark: Horizon's server against vanilla 26.3 with mixed bots, as installed #2899

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

📋 Pull Request Information

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

Base: main ← Head: docs/server-benchmark-mixed


📝 Commits (1)

  • 40972de Benchmark: Horizon's server against vanilla 26.3 with mixed bots, as installed

📊 Changes

4 files changed (+789 additions, -1 deletions)

View changed files

➕ benchmarks/server-mixed-2026-10-18/README.md (+125 -0)
➕ benchmarks/server-mixed-2026-10-18/load.txt (+286 -0)
➕ benchmarks/server-mixed-2026-10-18/mixed.json (+367 -0)
📝 docs/server.md (+11 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What

The first published server benchmark for the 2026-10-23 working version (docs/server.md §10, item 4): benchmarks/server-mixed-2026-10-18/, linked from docs/server.md §9 and §10.

It runs the v2026.10.18.15 release as install.sh installs it against vanilla 26.3, with 1, 10, 25 and 50 mixed bots, on a quiet machine.

Bots Server MSPT P99 TPS RSS (mean) New chunks/s
1 Horizon 2.4 18.2 20 0.65 GB 0.3
1 vanilla 17.9 47.3 20 3.38 GB 0.3
10 Horizon 12.4 65.9 20 0.94 GB 36.5
10 vanilla 34.5 138.6 20 3.59 GB 19.1
25 Horizon 24.0 80.6 20 1.01 GB 31.9
25 vanilla 31.6 222.7 20 3.74 GB 10.8
50 Horizon 35.2 96.6 20 1.01 GB 34.6
50 vanilla 29.7 137.4 20 4.00 GB 17.8
  • Both servers kept 20 TPS in every run, with no failed joins or drops.
  • Horizon's RSS was 3.7 to 5.2 times smaller.
  • Horizon's tick was shorter with 1, 10 and 25 bots and 18 % longer with 50. Its P99 and worst 5-second windows were lower at every count.
  • The work wasn't equal, and the difference counts against Horizon: the exploring bots fly as fast as each server sends chunks, so Horizon generated 1.9 to 2.9 times the new terrain a second. Its walking bots also got 3300 to 4000 chunks each, against vanilla's 640 to 1100. The README says so and points to the equal-rate explore pass of 2026-10-17.

Where and how

  • Machine. The ThinkPad (i7-7500U, 2 cores and 4 threads, 32 GB, NixOS), servers under nice -n 19. No other session ran on it (load.txt); the busy periods are the servers themselves, CPU-bound from 10 bots up. The bots ran on the Mac mini over the tailnet. The desktop was the first choice but didn't wake (power wake desktop timed out after 3 minutes).
  • Horizon. The release's horizon-client (engine, 6c078b28), with game files prepared by the release's own horizon-prepare. horizon-server came from #898 (supervisor only; the release's copy can't find game files prepared without sounds, #893). horizon-bots came from main.
  • Vanilla. The pinned 26.3 jar (the owner's own copy), OpenJDK 25.0.4.1, -Xms4g -Xmx4g. Default game rules on both: the locator bar is on for both now that Horizon's server has one.
  • Tool. tools/server_bench.py, unchanged: 60 s warm-up, 300 s measured, /tick query every 5 s.

The tailnet hostname is left out of the published JSON.

Self-check

Docs and data only. The numbers in the README and docs/server.md were checked against mixed.json.

Next (not in this PR)

An equal-work mixed pass and 100 bots, a bigger machine, and Paper / Fabric + Lithium. The 50-bot tick is perf-server's area.

🤖 Generated with Claude Code


🔄 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/902 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/server-benchmark-mixed` --- ### 📝 Commits (1) - [`40972de`](https://github.com/horizon-rust/horizon/commit/40972de77a4cb5db4864796728bd2e538ced7a29) Benchmark: Horizon's server against vanilla 26.3 with mixed bots, as installed ### 📊 Changes **4 files changed** (+789 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `benchmarks/server-mixed-2026-10-18/README.md` (+125 -0) ➕ `benchmarks/server-mixed-2026-10-18/load.txt` (+286 -0) ➕ `benchmarks/server-mixed-2026-10-18/mixed.json` (+367 -0) 📝 `docs/server.md` (+11 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What The first published server benchmark for the 2026-10-23 working version (docs/server.md §10, item 4): `benchmarks/server-mixed-2026-10-18/`, linked from docs/server.md §9 and §10. It runs the **v2026.10.18.15 release as `install.sh` installs it** against vanilla 26.3, with 1, 10, 25 and 50 `mixed` bots, on a quiet machine. | Bots | Server | MSPT | P99 | TPS | RSS (mean) | New chunks/s | |---:|---|---:|---:|---:|---:|---:| | 1 | Horizon | **2.4** | 18.2 | 20 | **0.65 GB** | 0.3 | | 1 | vanilla | 17.9 | 47.3 | 20 | 3.38 GB | 0.3 | | 10 | Horizon | **12.4** | 65.9 | 20 | **0.94 GB** | 36.5 | | 10 | vanilla | 34.5 | 138.6 | 20 | 3.59 GB | 19.1 | | 25 | Horizon | **24.0** | 80.6 | 20 | **1.01 GB** | 31.9 | | 25 | vanilla | 31.6 | 222.7 | 20 | 3.74 GB | 10.8 | | 50 | Horizon | 35.2 | 96.6 | 20 | **1.01 GB** | 34.6 | | 50 | vanilla | **29.7** | 137.4 | 20 | 4.00 GB | 17.8 | - Both servers kept 20 TPS in every run, with no failed joins or drops. - Horizon's RSS was 3.7 to 5.2 times smaller. - Horizon's tick was shorter with 1, 10 and 25 bots and 18 % longer with 50. Its P99 and worst 5-second windows were lower at every count. - The work wasn't equal, and the difference counts against Horizon: the exploring bots fly as fast as each server sends chunks, so Horizon generated 1.9 to 2.9 times the new terrain a second. Its walking bots also got 3300 to 4000 chunks each, against vanilla's 640 to 1100. The README says so and points to the equal-rate explore pass of 2026-10-17. ## Where and how - **Machine.** The ThinkPad (i7-7500U, 2 cores and 4 threads, 32 GB, NixOS), servers under `nice -n 19`. No other session ran on it (`load.txt`); the busy periods are the servers themselves, CPU-bound from 10 bots up. The bots ran on the Mac mini over the tailnet. The desktop was the first choice but didn't wake (`power wake desktop` timed out after 3 minutes). - **Horizon.** The release's `horizon-client` (engine, 6c078b28), with game files prepared by the release's own `horizon-prepare`. `horizon-server` came from #898 (supervisor only; the release's copy can't find game files prepared without sounds, #893). `horizon-bots` came from main. - **Vanilla.** The pinned 26.3 jar (the owner's own copy), OpenJDK 25.0.4.1, `-Xms4g -Xmx4g`. Default game rules on both: the locator bar is on for both now that Horizon's server has one. - **Tool.** `tools/server_bench.py`, unchanged: 60 s warm-up, 300 s measured, `/tick query` every 5 s. The tailnet hostname is left out of the published JSON. ## Self-check Docs and data only. The numbers in the README and docs/server.md were checked against `mixed.json`. ## Next (not in this PR) An equal-work `mixed` pass and 100 bots, a bigger machine, and Paper / Fabric + Lithium. The 50-bot tick is perf-server's area. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:59:56 +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#2899
No description provided.