[PR #7261] [MERGED] pacing_bench: world-change scenarios (TNT, fill, fluids, fire, pistons) #7449

Closed
opened 2026-11-03 06:39:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7261
Author: @ludovic111
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: tools/pacing-world-changes


📝 Commits (1)

  • 74131a7 pacing_bench: world-change scenarios (TNT, fill, fluids, fire, pistons)

📊 Changes

1 file changed (+72 additions, -1 deletions)

View changed files

📝 tools/pacing_bench.py (+72 -1)

📄 Description

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

tools/pacing_bench.py gets five world-change scenarios, the stalls players hit in normal play (block updates, light and remeshing in one frame). Each is built in the air (y 200, away from terrain) in front of the camera, then recorded while it runs, with commands typed in chat as a player does (horizon-ctl command blocks the frame on the server tick):

  • tnt: 50 TNT on a stone block, set off by a redstone block, 10 s;
  • fill: /fill of a 64×64×16 stone volume (two fills, the default block limit), then cleared, 5 s each;
  • fluids: water, then lava, poured down a 16-block slope, 15 s each;
  • fire: fire lit at 5 places on a 25×25 grove's leaf canopy, 25 s;
  • pistons: an observer clock driving 20 pistons, 15 s.

First results (Mac mini M4 Pro, RD 12, main e8b55fbe55), worst frame: tnt 4–5 ms, fill 37–49 ms, clear 40–64 ms, fluids ≤ 5 ms, fire ≤ 9.4 ms, pistons 5–6.6 ms. The fill stall is fixed in #7260.

Tools only: skip-release.

pr_ready

pr_ready (tools/pr_ready.py --quick on playhorizon, against origin/main at 0f0fa62dc, 1 min 6 s)

Check Result
Scope ✅ 1 files, +72 −1
Cargo.lock ✅ unchanged
Public tree ✅ (1 s)
Python tests ✅ 612 passed (1 min 5 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 30 affected, to run in CI (--quick): anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow_wind_charge, blending, block_tint, boat_authority, boat_paddle_reset, boat_submerged, dragon_contacts, dragon_render, enchantment_components and 18 more
Label skip-release

🤖 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/7261 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `tools/pacing-world-changes` --- ### 📝 Commits (1) - [`74131a7`](https://github.com/horizon-rust/horizon/commit/74131a74c07ee502e15e7c47cb2dd618c39b5cd9) pacing_bench: world-change scenarios (TNT, fill, fluids, fire, pistons) ### 📊 Changes **1 file changed** (+72 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/pacing_bench.py` (+72 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `tools/pacing_bench.py` gets five world-change scenarios, the stalls players hit in normal play (block updates, light and remeshing in one frame). Each is built in the air (y 200, away from terrain) in front of the camera, then recorded while it runs, with commands typed in chat as a player does (`horizon-ctl command` blocks the frame on the server tick): - `tnt`: 50 TNT on a stone block, set off by a redstone block, 10 s; - `fill`: `/fill` of a 64×64×16 stone volume (two fills, the default block limit), then cleared, 5 s each; - `fluids`: water, then lava, poured down a 16-block slope, 15 s each; - `fire`: fire lit at 5 places on a 25×25 grove's leaf canopy, 25 s; - `pistons`: an observer clock driving 20 pistons, 15 s. First results (Mac mini M4 Pro, RD 12, main e8b55fbe55), worst frame: tnt 4–5 ms, fill 37–49 ms, clear 40–64 ms, fluids ≤ 5 ms, fire ≤ 9.4 ms, pistons 5–6.6 ms. The fill stall is fixed in #7260. Tools only: `skip-release`. ## pr_ready **pr_ready** (`tools/pr_ready.py --quick` on playhorizon, against origin/main at 0f0fa62dc, 1 min 6 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +72 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ (1 s) | | Python tests | ✅ 612 passed (1 min 5 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 30 affected, to run in CI (--quick): anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow_wind_charge, blending, block_tint, boat_authority, boat_paddle_reset, boat_submerged, dragon_contacts, dragon_render, enchantment_components and 18 more | | Label | `skip-release` | 🤖 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-03 06:39:42 +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#7449
No description provided.