[PR #6658] [MERGED] Title screen: decode the panorama beside the GUI atlas #7016

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

📋 Pull Request Information

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

Base: main ← Head: perf/title-panorama-beside-atlas


📝 Commits (1)

  • f104875 Title screen: decode the panorama beside the GUI atlas

📊 Changes

1 file changed (+16 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+16 -3)

📄 Description

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

The title screen's menu bundle built the GUI atlas and then decoded the panorama's six faces, both on the resource loader. The panorama doesn't need the atlas, so it now decodes on its own thread while the atlas builds (std::thread::scope). A panic in either is passed on as before. Same images, same order of use.

A/B on playhorizon (llvmpipe, load ~31 on 8 vCPU), tools/startup_trace.py --until title, 3 alternating runs, first start each (fresh scratch folders):

before (main + trace) this PR
ui.load (menu bundle) 1258 / 764 / 582 ms, median 764 504 / 229 / 441 ms, median 441 (−42 %)
title shown 6292 / 5251 / 6189 ms, median 6189 5370 / 3011 / 4768 ms, median 4768
world entry, server join not on this path, unchanged

At this load the title time is noisy; ui.load is the step this PR changes. Cold page cache vs warm: playhorizon's SSD shows no difference (measured with a fresh, evicted copy of the resources).

pr_ready: queued on playhorizon (build slots busy); the block follows as a comment.

🤖 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/6658 **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:** `perf/title-panorama-beside-atlas` --- ### 📝 Commits (1) - [`f104875`](https://github.com/horizon-rust/horizon/commit/f10487540b5611fe222fa9bd56d652ab6c8892f8) Title screen: decode the panorama beside the GUI atlas ### 📊 Changes **1 file changed** (+16 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+16 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The title screen's menu bundle built the GUI atlas and then decoded the panorama's six faces, both on the resource loader. The panorama doesn't need the atlas, so it now decodes on its own thread while the atlas builds (`std::thread::scope`). A panic in either is passed on as before. Same images, same order of use. A/B on playhorizon (llvmpipe, load ~31 on 8 vCPU), `tools/startup_trace.py --until title`, 3 alternating runs, first start each (fresh scratch folders): | | before (main + trace) | this PR | |---|---|---| | `ui.load` (menu bundle) | 1258 / 764 / 582 ms, median **764** | 504 / 229 / 441 ms, median **441** (−42 %) | | title shown | 6292 / 5251 / 6189 ms, median 6189 | 5370 / 3011 / 4768 ms, median 4768 | | world entry, server join | not on this path, unchanged | | At this load the title time is noisy; `ui.load` is the step this PR changes. Cold page cache vs warm: playhorizon's SSD shows no difference (measured with a fresh, evicted copy of the resources). pr_ready: queued on playhorizon (build slots busy); the block follows as a comment. 🤖 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:32:08 +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#7016
No description provided.