[GH-ISSUE #1461] Large amounts of signs with text causes lag #444

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

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1461

Image 324 fps with 100 signs Image 2033 fps without signs
Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1461 <img width="1293" height="782" alt="Image" src="https://github.com/user-attachments/assets/76b034fd-c506-4a86-865f-bafabf1cc332" /> 324 fps with 100 signs <img width="1314" height="808" alt="Image" src="https://github.com/user-attachments/assets/651b4a36-68b4-4d12-99ae-684de8c1e595" /> 2033 fps without signs
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: I measured this against vanilla on the same saved world and the same view (Mac mini, 1280x720, uncapped fps):

100 text signs in view no signs
Horizon (main) ~2125 fps ~3690 fps
vanilla 26.3 ~84 fps ~110 fps

Signs cost Horizon less than they cost vanilla. The screenshots in the report are taken from different views, so they don't isolate the signs. Profiling still turned up one easy saving: the glyph lookup's hashing. #1471 takes the 100-sign frame from 0.32 ms to 0.22 ms of preparation (about 1920 to 2250 fps).

If the lag is still there on Linux/Vulkan (RTX 4060), a screenshot with F3 open, taken from the same spot with the signs and without them, would show whether the signs cause it there.

<!-- gh-comment-id:6371500669 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: I measured this against vanilla on the same saved world and the same view (Mac mini, 1280x720, uncapped fps): | | 100 text signs in view | no signs | |---|---|---| | Horizon (main) | ~2125 fps | ~3690 fps | | vanilla 26.3 | ~84 fps | ~110 fps | Signs cost Horizon less than they cost vanilla. The screenshots in the report are taken from different views, so they don't isolate the signs. Profiling still turned up one easy saving: the glyph lookup's hashing. #1471 takes the 100-sign frame from 0.32 ms to 0.22 ms of preparation (about 1920 to 2250 fps). If the lag is still there on Linux/Vulkan (RTX 4060), a screenshot with F3 open, taken from the same spot with the signs and without them, would show whether the signs cause it there.
Author
Owner

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

🤖 Agent: I measured this against vanilla on the same saved world and the same view (Mac mini, 1280x720, uncapped fps):

100 text signs in view no signs
Horizon (main) ~2125 fps ~3690 fps
vanilla 26.3 ~84 fps ~110 fps

Signs cost Horizon less than they cost vanilla. The screenshots in the report are taken from different views, so they don't isolate the signs. Profiling still turned up one easy saving: the glyph lookup's hashing. #1471 takes the 100-sign frame from 0.32 ms to 0.22 ms of preparation (about 1920 to 2250 fps).

If the lag is still there on Linux/Vulkan (RTX 4060), a screenshot with F3 open, taken from the same spot with the signs and without them, would show whether the signs cause it there.

I used 100 signs as a random low realistic baseline, more signs causes significantly more lag. Scenes with several thousand signs could exist.
Comparisons with minecraft are also a bad idea, consider modded optimised minecraft if you really need a comparison.

<!-- gh-comment-id:6372655022 --> @rdbtCVS commented on GitHub (Oct 23, 2026): > 🤖 Agent: I measured this against vanilla on the same saved world and the same view (Mac mini, 1280x720, uncapped fps): > > | | 100 text signs in view | no signs | > |---|---|---| > | Horizon (main) | ~2125 fps | ~3690 fps | > | vanilla 26.3 | ~84 fps | ~110 fps | > > Signs cost Horizon less than they cost vanilla. The screenshots in the report are taken from different views, so they don't isolate the signs. Profiling still turned up one easy saving: the glyph lookup's hashing. #1471 takes the 100-sign frame from 0.32 ms to 0.22 ms of preparation (about 1920 to 2250 fps). > > If the lag is still there on Linux/Vulkan (RTX 4060), a screenshot with F3 open, taken from the same spot with the signs and without them, would show whether the signs cause it there. > I used 100 signs as a random low realistic baseline, more signs causes significantly more lag. Scenes with several thousand signs could exist. Comparisons with minecraft are also a bad idea, consider modded optimised minecraft if you really need a comparison.
Author
Owner

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

🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #1471 and #2027 reduce sign-text work, but the reporter explicitly notes that scenes with thousands of signs still need consideration. Those optimizations do not demonstrate the reported scaling concern is resolved. Recommend keeping this open for a same-view, representative sign-count measurement.

<!-- gh-comment-id:6418423481 --> @rdbtCVS commented on GitHub (Oct 26, 2026): 🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #1471 and #2027 reduce sign-text work, but the reporter explicitly notes that scenes with thousands of signs still need consideration. Those optimizations do not demonstrate the reported scaling concern is resolved. Recommend keeping this open for a same-view, representative sign-count measurement.
Author
Owner

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

New benchmark results on v0.2.87, superflat:

no signs baseline = 1623 fps

Image

14x19 sign wall = 584 fps
Image

14x19x13 sign cube = 56 fps

Image
<!-- gh-comment-id:6446572001 --> @rdbtCVS commented on GitHub (Oct 27, 2026): New benchmark results on v0.2.87, superflat: no signs baseline = 1623 fps <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/be23fab4-3d5d-4284-b349-bb1414c2b191" /> 14x19 sign wall = 584 fps <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/578c7998-b279-4285-b1ee-3fffe791dacd" /> 14x19x13 sign cube = 56 fps <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/fcfeb3c2-607b-4357-995a-a86fe40e65be" />
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#444
No description provided.